<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621680912101"><span id="local-6989586621680912102"><span id="local-6989586621680912103"><span id="local-6989586621680912104"><span id="local-6989586621680912105"><span id="local-6989586621680912106"><span id="local-6989586621680912107"><span id="local-6989586621680912108"><span id="local-6989586621680912109"><span id="local-6989586621680912110"><span id="local-6989586621680912111"></span></span></span></span></span></span></span></span></span></span></span><span class="hs-comment">{-
(c) The University of Glasgow 2006
(c) The GRASP/AQUA Project, Glasgow University, 1992-1998


GHC.Hs.ImpExp: Abstract syntax: imports, exports, interfaces
-}</span><span>
</span><span id="line-8"></span><span>
</span><span id="line-9"></span><span class="hs-pragma">{-# LANGUAGE DeriveDataTypeable #-}</span><span>
</span><span id="line-10"></span><span class="hs-pragma">{-# LANGUAGE FlexibleContexts #-}</span><span>
</span><span id="line-11"></span><span class="hs-pragma">{-# LANGUAGE FlexibleInstances #-}</span><span>
</span><span id="line-12"></span><span class="hs-pragma">{-# LANGUAGE StandaloneDeriving #-}</span><span>
</span><span id="line-13"></span><span class="hs-pragma">{-# LANGUAGE TypeFamilies #-}</span><span>
</span><span id="line-14"></span><span class="hs-pragma">{-# LANGUAGE UndecidableInstances #-}</span><span> </span><span class="hs-comment">-- Wrinkle in Note [Trees That Grow]</span><span>
</span><span id="line-15"></span><span>                                      </span><span class="hs-comment">-- in module GHC.Hs.Extension</span><span>
</span><span id="line-16"></span><span>
</span><span id="line-17"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">GHC.Hs.ImpExp</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-18"></span><span>
</span><span id="line-19"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Prelude.html"><span class="hs-identifier">GHC.Prelude</span></a></span><span>
</span><span id="line-20"></span><span>
</span><span id="line-21"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Unit.Module.html"><span class="hs-identifier">GHC.Unit.Module</span></a></span><span>        </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="GHC.Unit.Module.Name.html#ModuleName"><span class="hs-identifier">ModuleName</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Unit.Types.html#IsBootInterface"><span class="hs-identifier">IsBootInterface</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span> </span><span class="hs-special">)</span><span>
</span><span id="line-22"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Hs.Doc.html"><span class="hs-identifier">GHC.Hs.Doc</span></a></span><span>             </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="GHC.Hs.Doc.html#HsDocString"><span class="hs-identifier">HsDocString</span></a></span><span> </span><span class="hs-special">)</span><span>
</span><span id="line-23"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Types.Name.Occurrence.html"><span class="hs-identifier">GHC.Types.Name.Occurrence</span></a></span><span> </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="GHC.Types.Name.Occurrence.html#HasOccName"><span class="hs-identifier">HasOccName</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Types.Name.Occurrence.html#isTcOcc"><span class="hs-identifier">isTcOcc</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Types.Name.Occurrence.html#isSymOcc"><span class="hs-identifier">isSymOcc</span></a></span><span> </span><span class="hs-special">)</span><span>
</span><span id="line-24"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Types.Basic.html"><span class="hs-identifier">GHC.Types.Basic</span></a></span><span>        </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="GHC.Types.Basic.html#SourceText"><span class="hs-identifier">SourceText</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Types.Basic.html#StringLiteral"><span class="hs-identifier">StringLiteral</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Types.Basic.html#pprWithSourceText"><span class="hs-identifier">pprWithSourceText</span></a></span><span> </span><span class="hs-special">)</span><span>
</span><span id="line-25"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Types.FieldLabel.html"><span class="hs-identifier">GHC.Types.FieldLabel</span></a></span><span>   </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="GHC.Types.FieldLabel.html#FieldLbl"><span class="hs-identifier">FieldLbl</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span> </span><span class="hs-special">)</span><span>
</span><span id="line-26"></span><span>
</span><span id="line-27"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Utils.Outputable.html"><span class="hs-identifier">GHC.Utils.Outputable</span></a></span><span>
</span><span id="line-28"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Data.FastString.html"><span class="hs-identifier">GHC.Data.FastString</span></a></span><span>
</span><span id="line-29"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Types.SrcLoc.html"><span class="hs-identifier">GHC.Types.SrcLoc</span></a></span><span>
</span><span id="line-30"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html"><span class="hs-identifier">GHC.Hs.Extension</span></a></span><span>
</span><span id="line-31"></span><span>
</span><span id="line-32"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Data.Data.html#"><span class="hs-identifier">Data.Data</span></a></span><span>
</span><span id="line-33"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Data.Maybe.html#"><span class="hs-identifier">Data.Maybe</span></a></span><span>
</span><span id="line-34"></span><span>
</span><span id="line-35"></span><span class="hs-comment">{-
************************************************************************
*                                                                      *
\subsection{Import and export declaration lists}
*                                                                      *
************************************************************************

One per \tr{import} declaration in a module.
-}</span><span>
</span><span id="line-44"></span><span>
</span><span id="line-45"></span><span class="hs-comment">-- | Located Import Declaration</span><span>
</span><span id="line-46"></span><span class="hs-keyword">type</span><span> </span><span id="LImportDecl"><span class="annot"><a href="GHC.Hs.ImpExp.html#LImportDecl"><span class="hs-identifier hs-var">LImportDecl</span></a></span></span><span> </span><span id="local-6989586621680912096"><span class="annot"><a href="#local-6989586621680912096"><span class="hs-identifier hs-type">pass</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDecl"><span class="hs-identifier hs-type">ImportDecl</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912096"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-47"></span><span>        </span><span class="hs-comment">-- ^ When in a list this may have</span><span>
</span><span id="line-48"></span><span>        </span><span class="hs-comment">--</span><span>
</span><span id="line-49"></span><span>        </span><span class="hs-comment">--  - 'GHC.Parser.Annotation.AnnKeywordId' : 'GHC.Parser.Annotation.AnnSemi'</span><span>
</span><span id="line-50"></span><span>
</span><span id="line-51"></span><span>        </span><span class="hs-comment">-- For details on above see note [Api annotations] in GHC.Parser.Annotation</span><span>
</span><span id="line-52"></span><span>
</span><span id="line-53"></span><span class="hs-comment">-- | If/how an import is 'qualified'.</span><span>
</span><span id="line-54"></span><span class="hs-keyword">data</span><span> </span><span id="ImportDeclQualifiedStyle"><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDeclQualifiedStyle"><span class="hs-identifier hs-var">ImportDeclQualifiedStyle</span></a></span></span><span>
</span><span id="line-55"></span><span>  </span><span class="hs-glyph">=</span><span> </span><span id="QualifiedPre"><span class="annot"><a href="GHC.Hs.ImpExp.html#QualifiedPre"><span class="hs-identifier hs-var">QualifiedPre</span></a></span></span><span>  </span><span class="hs-comment">-- ^ 'qualified' appears in prepositive position.</span><span>
</span><span id="line-56"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="QualifiedPost"><span class="annot"><a href="GHC.Hs.ImpExp.html#QualifiedPost"><span class="hs-identifier hs-var">QualifiedPost</span></a></span></span><span> </span><span class="hs-comment">-- ^ 'qualified' appears in postpositive position.</span><span>
</span><span id="line-57"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="NotQualified"><span class="annot"><a href="GHC.Hs.ImpExp.html#NotQualified"><span class="hs-identifier hs-var">NotQualified</span></a></span></span><span>  </span><span class="hs-comment">-- ^ Not qualified.</span><span>
</span><span id="line-58"></span><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621680912089"><span id="local-6989586621680912091"><span class="annot"><span class="annottext">ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle -&gt; Bool
(ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle -&gt; Bool)
-&gt; (ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle -&gt; Bool)
-&gt; Eq ImportDeclQualifiedStyle
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle -&gt; Bool
$c/= :: ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle -&gt; Bool
== :: ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle -&gt; Bool
$c== :: ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621680912058"><span id="local-6989586621680912060"><span id="local-6989586621680912062"><span id="local-6989586621680912064"><span id="local-6989586621680912066"><span id="local-6989586621680912068"><span id="local-6989586621680912070"><span id="local-6989586621680912072"><span id="local-6989586621680912074"><span id="local-6989586621680912076"><span id="local-6989586621680912078"><span id="local-6989586621680912080"><span id="local-6989586621680912082"><span id="local-6989586621680912084"><span class="annot"><span class="annottext">Typeable ImportDeclQualifiedStyle
Typeable ImportDeclQualifiedStyle
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g)
    -&gt; ImportDeclQualifiedStyle
    -&gt; c ImportDeclQualifiedStyle)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c ImportDeclQualifiedStyle)
-&gt; (ImportDeclQualifiedStyle -&gt; Constr)
-&gt; (ImportDeclQualifiedStyle -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d))
    -&gt; Maybe (c ImportDeclQualifiedStyle))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e))
    -&gt; Maybe (c ImportDeclQualifiedStyle))
-&gt; ((forall b. Data b =&gt; b -&gt; b)
    -&gt; ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r)
    -&gt; r
    -&gt; (forall d. Data d =&gt; d -&gt; r')
    -&gt; ImportDeclQualifiedStyle
    -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r)
    -&gt; r
    -&gt; (forall d. Data d =&gt; d -&gt; r')
    -&gt; ImportDeclQualifiedStyle
    -&gt; r)
-&gt; (forall u.
    (forall d. Data d =&gt; d -&gt; u) -&gt; ImportDeclQualifiedStyle -&gt; [u])
-&gt; (forall u.
    Int
    -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; ImportDeclQualifiedStyle -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle)
-&gt; Data ImportDeclQualifiedStyle
ImportDeclQualifiedStyle -&gt; DataType
ImportDeclQualifiedStyle -&gt; Constr
(forall b. Data b =&gt; b -&gt; b)
-&gt; ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle
forall a.
Typeable a
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; a -&gt; c a)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c a)
-&gt; (a -&gt; Constr)
-&gt; (a -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c a))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c a))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; a -&gt; a)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; Data a
forall u.
Int
-&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; ImportDeclQualifiedStyle -&gt; u
forall u.
(forall d. Data d =&gt; d -&gt; u) -&gt; ImportDeclQualifiedStyle -&gt; [u]
forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r
-&gt; (forall d. Data d =&gt; d -&gt; r')
-&gt; ImportDeclQualifiedStyle
-&gt; r
forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r
-&gt; (forall d. Data d =&gt; d -&gt; r')
-&gt; ImportDeclQualifiedStyle
-&gt; r
forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle
forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle
forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c ImportDeclQualifiedStyle
forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g)
-&gt; ImportDeclQualifiedStyle
-&gt; c ImportDeclQualifiedStyle
forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c ImportDeclQualifiedStyle)
forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c ImportDeclQualifiedStyle)
gmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle
$cgmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle
gmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle
$cgmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle
gmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle
$cgmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; ImportDeclQualifiedStyle -&gt; m ImportDeclQualifiedStyle
gmapQi :: forall u.
Int
-&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; ImportDeclQualifiedStyle -&gt; u
$cgmapQi :: forall u.
Int
-&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; ImportDeclQualifiedStyle -&gt; u
gmapQ :: forall u.
(forall d. Data d =&gt; d -&gt; u) -&gt; ImportDeclQualifiedStyle -&gt; [u]
$cgmapQ :: forall u.
(forall d. Data d =&gt; d -&gt; u) -&gt; ImportDeclQualifiedStyle -&gt; [u]
gmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r
-&gt; (forall d. Data d =&gt; d -&gt; r')
-&gt; ImportDeclQualifiedStyle
-&gt; r
$cgmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r
-&gt; (forall d. Data d =&gt; d -&gt; r')
-&gt; ImportDeclQualifiedStyle
-&gt; r
gmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r
-&gt; (forall d. Data d =&gt; d -&gt; r')
-&gt; ImportDeclQualifiedStyle
-&gt; r
$cgmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r
-&gt; (forall d. Data d =&gt; d -&gt; r')
-&gt; ImportDeclQualifiedStyle
-&gt; r
gmapT :: (forall b. Data b =&gt; b -&gt; b)
-&gt; ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle
$cgmapT :: (forall b. Data b =&gt; b -&gt; b)
-&gt; ImportDeclQualifiedStyle -&gt; ImportDeclQualifiedStyle
dataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c ImportDeclQualifiedStyle)
$cdataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c ImportDeclQualifiedStyle)
dataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c ImportDeclQualifiedStyle)
$cdataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c ImportDeclQualifiedStyle)
dataTypeOf :: ImportDeclQualifiedStyle -&gt; DataType
$cdataTypeOf :: ImportDeclQualifiedStyle -&gt; DataType
toConstr :: ImportDeclQualifiedStyle -&gt; Constr
$ctoConstr :: ImportDeclQualifiedStyle -&gt; Constr
gunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c ImportDeclQualifiedStyle
$cgunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c ImportDeclQualifiedStyle
gfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g)
-&gt; ImportDeclQualifiedStyle
-&gt; c ImportDeclQualifiedStyle
$cgfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g)
-&gt; ImportDeclQualifiedStyle
-&gt; c ImportDeclQualifiedStyle
</span><a href="../../base/src/Data.Data.html#Data"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Data</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span class="hs-special">)</span><span>
</span><span id="line-59"></span><span>
</span><span id="line-60"></span><span class="hs-comment">-- | Given two possible located 'qualified' tokens, compute a style</span><span>
</span><span id="line-61"></span><span class="hs-comment">-- (in a conforming Haskell program only one of the two can be not</span><span>
</span><span id="line-62"></span><span class="hs-comment">-- 'Nothing'). This is called from &quot;GHC.Parser&quot;.</span><span>
</span><span id="line-63"></span><span id="local-6989586621680912309"><span class="annot"><a href="GHC.Hs.ImpExp.html#importDeclQualifiedStyle"><span class="hs-identifier hs-type">importDeclQualifiedStyle</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Maybe"><span class="hs-identifier hs-type">Maybe</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912309"><span class="hs-identifier hs-type">a</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-64"></span><span>                         </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Maybe"><span class="hs-identifier hs-type">Maybe</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912309"><span class="hs-identifier hs-type">a</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-65"></span><span>                         </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDeclQualifiedStyle"><span class="hs-identifier hs-type">ImportDeclQualifiedStyle</span></a></span></span><span>
</span><span id="line-66"></span><span id="importDeclQualifiedStyle"><span class="annot"><span class="annottext">importDeclQualifiedStyle :: forall a.
Maybe (Located a) -&gt; Maybe (Located a) -&gt; ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#importDeclQualifiedStyle"><span class="hs-identifier hs-var hs-var">importDeclQualifiedStyle</span></a></span></span><span> </span><span id="local-6989586621680912055"><span class="annot"><span class="annottext">Maybe (Located a)
</span><a href="#local-6989586621680912055"><span class="hs-identifier hs-var">mPre</span></a></span></span><span> </span><span id="local-6989586621680912054"><span class="annot"><span class="annottext">Maybe (Located a)
</span><a href="#local-6989586621680912054"><span class="hs-identifier hs-var">mPost</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-67"></span><span>  </span><span class="hs-keyword">if</span><span> </span><span class="annot"><span class="annottext">Maybe (Located a) -&gt; Bool
forall a. Maybe a -&gt; Bool
</span><a href="../../base/src/Data.Maybe.html#isJust"><span class="hs-identifier hs-var">isJust</span></a></span><span> </span><span class="annot"><span class="annottext">Maybe (Located a)
</span><a href="#local-6989586621680912055"><span class="hs-identifier hs-var">mPre</span></a></span><span> </span><span class="hs-keyword">then</span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#QualifiedPre"><span class="hs-identifier hs-var">QualifiedPre</span></a></span><span>
</span><span id="line-68"></span><span>  </span><span class="hs-keyword">else</span><span> </span><span class="hs-keyword">if</span><span> </span><span class="annot"><span class="annottext">Maybe (Located a) -&gt; Bool
forall a. Maybe a -&gt; Bool
</span><a href="../../base/src/Data.Maybe.html#isJust"><span class="hs-identifier hs-var">isJust</span></a></span><span> </span><span class="annot"><span class="annottext">Maybe (Located a)
</span><a href="#local-6989586621680912054"><span class="hs-identifier hs-var">mPost</span></a></span><span> </span><span class="hs-keyword">then</span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#QualifiedPost"><span class="hs-identifier hs-var">QualifiedPost</span></a></span><span> </span><span class="hs-keyword">else</span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#NotQualified"><span class="hs-identifier hs-var">NotQualified</span></a></span><span>
</span><span id="line-69"></span><span>
</span><span id="line-70"></span><span class="hs-comment">-- | Convenience function to answer the question if an import decl. is</span><span>
</span><span id="line-71"></span><span class="hs-comment">-- qualified.</span><span>
</span><span id="line-72"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#isImportDeclQualified"><span class="hs-identifier hs-type">isImportDeclQualified</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDeclQualifiedStyle"><span class="hs-identifier hs-type">ImportDeclQualifiedStyle</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-73"></span><span id="isImportDeclQualified"><span class="annot"><span class="annottext">isImportDeclQualified :: ImportDeclQualifiedStyle -&gt; Bool
</span><a href="GHC.Hs.ImpExp.html#isImportDeclQualified"><span class="hs-identifier hs-var hs-var">isImportDeclQualified</span></a></span></span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#NotQualified"><span class="hs-identifier hs-var">NotQualified</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span>
</span><span id="line-74"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#isImportDeclQualified"><span class="hs-identifier hs-var">isImportDeclQualified</span></a></span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span>
</span><span id="line-75"></span><span>
</span><span id="line-76"></span><span class="hs-comment">-- | Import Declaration</span><span>
</span><span id="line-77"></span><span class="hs-comment">--</span><span>
</span><span id="line-78"></span><span class="hs-comment">-- A single Haskell @import@ declaration.</span><span>
</span><span id="line-79"></span><span class="hs-keyword">data</span><span> </span><span id="ImportDecl"><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDecl"><span class="hs-identifier hs-var">ImportDecl</span></a></span></span><span> </span><span id="local-6989586621680912305"><span class="annot"><a href="#local-6989586621680912305"><span class="hs-identifier hs-type">pass</span></a></span></span><span>
</span><span id="line-80"></span><span>  </span><span class="hs-glyph">=</span><span> </span><span id="ImportDecl"><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDecl"><span class="hs-identifier hs-var">ImportDecl</span></a></span></span><span> </span><span class="hs-special">{</span><span>
</span><span id="line-81"></span><span>      </span><span id="ideclExt"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; XCImportDecl pass
</span><a href="GHC.Hs.ImpExp.html#ideclExt"><span class="hs-identifier hs-var hs-var">ideclExt</span></a></span></span><span>       </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#XCImportDecl"><span class="hs-identifier hs-type">XCImportDecl</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912305"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-82"></span><span>      </span><span id="ideclSourceSrc"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; SourceText
</span><a href="GHC.Hs.ImpExp.html#ideclSourceSrc"><span class="hs-identifier hs-var hs-var">ideclSourceSrc</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Types.Basic.html#SourceText"><span class="hs-identifier hs-type">SourceText</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-83"></span><span>                                 </span><span class="hs-comment">-- Note [Pragma source text] in GHC.Types.Basic</span><span>
</span><span id="line-84"></span><span>      </span><span id="ideclName"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; Located ModuleName
</span><a href="GHC.Hs.ImpExp.html#ideclName"><span class="hs-identifier hs-var hs-var">ideclName</span></a></span></span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="annot"><a href="GHC.Unit.Module.Name.html#ModuleName"><span class="hs-identifier hs-type">ModuleName</span></a></span><span class="hs-special">,</span><span> </span><span class="hs-comment">-- ^ Module name.</span><span>
</span><span id="line-85"></span><span>      </span><span id="ideclPkgQual"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; Maybe StringLiteral
</span><a href="GHC.Hs.ImpExp.html#ideclPkgQual"><span class="hs-identifier hs-var hs-var">ideclPkgQual</span></a></span></span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Maybe"><span class="hs-identifier hs-type">Maybe</span></a></span><span> </span><span class="annot"><a href="GHC.Types.Basic.html#StringLiteral"><span class="hs-identifier hs-type">StringLiteral</span></a></span><span class="hs-special">,</span><span>  </span><span class="hs-comment">-- ^ Package qualifier.</span><span>
</span><span id="line-86"></span><span>      </span><span id="ideclSource"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; IsBootInterface
</span><a href="GHC.Hs.ImpExp.html#ideclSource"><span class="hs-identifier hs-var hs-var">ideclSource</span></a></span></span><span>    </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Unit.Types.html#IsBootInterface"><span class="hs-identifier hs-type">IsBootInterface</span></a></span><span class="hs-special">,</span><span>      </span><span class="hs-comment">-- ^ IsBoot &lt;=&gt; {-\# SOURCE \#-} import</span><span>
</span><span id="line-87"></span><span>      </span><span id="ideclSafe"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; Bool
</span><a href="GHC.Hs.ImpExp.html#ideclSafe"><span class="hs-identifier hs-var hs-var">ideclSafe</span></a></span></span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span class="hs-special">,</span><span>          </span><span class="hs-comment">-- ^ True =&gt; safe import</span><span>
</span><span id="line-88"></span><span>      </span><span id="ideclQualified"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#ideclQualified"><span class="hs-identifier hs-var hs-var">ideclQualified</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDeclQualifiedStyle"><span class="hs-identifier hs-type">ImportDeclQualifiedStyle</span></a></span><span class="hs-special">,</span><span> </span><span class="hs-comment">-- ^ If/how the import is qualified.</span><span>
</span><span id="line-89"></span><span>      </span><span id="ideclImplicit"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; Bool
</span><a href="GHC.Hs.ImpExp.html#ideclImplicit"><span class="hs-identifier hs-var hs-var">ideclImplicit</span></a></span></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span class="hs-special">,</span><span>          </span><span class="hs-comment">-- ^ True =&gt; implicit import (of Prelude)</span><span>
</span><span id="line-90"></span><span>      </span><span id="ideclAs"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; Maybe (Located ModuleName)
</span><a href="GHC.Hs.ImpExp.html#ideclAs"><span class="hs-identifier hs-var hs-var">ideclAs</span></a></span></span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Maybe"><span class="hs-identifier hs-type">Maybe</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="annot"><a href="GHC.Unit.Module.Name.html#ModuleName"><span class="hs-identifier hs-type">ModuleName</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span>  </span><span class="hs-comment">-- ^ as Module</span><span>
</span><span id="line-91"></span><span>      </span><span id="ideclHiding"><span class="annot"><span class="annottext">forall pass. ImportDecl pass -&gt; Maybe (Bool, Located [LIE pass])
</span><a href="GHC.Hs.ImpExp.html#ideclHiding"><span class="hs-identifier hs-var hs-var">ideclHiding</span></a></span></span><span>    </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Maybe"><span class="hs-identifier hs-type">Maybe</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIE"><span class="hs-identifier hs-type">LIE</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912305"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">]</span><span class="hs-special">)</span><span>
</span><span id="line-92"></span><span>                                       </span><span class="hs-comment">-- ^ (True =&gt; hiding, names)</span><span>
</span><span id="line-93"></span><span>    </span><span class="hs-special">}</span><span>
</span><span id="line-94"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="XImportDecl"><span class="annot"><a href="GHC.Hs.ImpExp.html#XImportDecl"><span class="hs-identifier hs-var">XImportDecl</span></a></span></span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XXImportDecl"><span class="hs-identifier hs-type">XXImportDecl</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912305"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-95"></span><span>     </span><span class="hs-comment">-- ^</span><span>
</span><span id="line-96"></span><span>     </span><span class="hs-comment">--  'GHC.Parser.Annotation.AnnKeywordId's</span><span>
</span><span id="line-97"></span><span>     </span><span class="hs-comment">--</span><span>
</span><span id="line-98"></span><span>     </span><span class="hs-comment">--  - 'GHC.Parser.Annotation.AnnImport'</span><span>
</span><span id="line-99"></span><span>     </span><span class="hs-comment">--</span><span>
</span><span id="line-100"></span><span>     </span><span class="hs-comment">--  - 'GHC.Parser.Annotation.AnnOpen', 'GHC.Parser.Annotation.AnnClose' for ideclSource</span><span>
</span><span id="line-101"></span><span>     </span><span class="hs-comment">--</span><span>
</span><span id="line-102"></span><span>     </span><span class="hs-comment">--  - 'GHC.Parser.Annotation.AnnSafe','GHC.Parser.Annotation.AnnQualified',</span><span>
</span><span id="line-103"></span><span>     </span><span class="hs-comment">--    'GHC.Parser.Annotation.AnnPackageName','GHC.Parser.Annotation.AnnAs',</span><span>
</span><span id="line-104"></span><span>     </span><span class="hs-comment">--    'GHC.Parser.Annotation.AnnVal'</span><span>
</span><span id="line-105"></span><span>     </span><span class="hs-comment">--</span><span>
</span><span id="line-106"></span><span>     </span><span class="hs-comment">--  - 'GHC.Parser.Annotation.AnnHiding','GHC.Parser.Annotation.AnnOpen',</span><span>
</span><span id="line-107"></span><span>     </span><span class="hs-comment">--    'GHC.Parser.Annotation.AnnClose' attached</span><span>
</span><span id="line-108"></span><span>     </span><span class="hs-comment">--     to location in ideclHiding</span><span>
</span><span id="line-109"></span><span>
</span><span id="line-110"></span><span>     </span><span class="hs-comment">-- For details on above see note [Api annotations] in GHC.Parser.Annotation</span><span>
</span><span id="line-111"></span><span>
</span><span id="line-112"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XCImportDecl"><span class="annot"><a href="GHC.Hs.Extension.html#XCImportDecl"><span class="hs-identifier hs-var">XCImportDecl</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtField"><span class="hs-identifier hs-type">NoExtField</span></a></span><span>
</span><span id="line-113"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XXImportDecl"><span class="annot"><a href="GHC.Hs.Extension.html#XXImportDecl"><span class="hs-identifier hs-var">XXImportDecl</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtCon"><span class="hs-identifier hs-type">NoExtCon</span></a></span><span>
</span><span id="line-114"></span><span>
</span><span id="line-115"></span><span id="local-6989586621680912286"><span class="annot"><a href="GHC.Hs.ImpExp.html#simpleImportDecl"><span class="hs-identifier hs-type">simpleImportDecl</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Unit.Module.Name.html#ModuleName"><span class="hs-identifier hs-type">ModuleName</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDecl"><span class="hs-identifier hs-type">ImportDecl</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912286"><span class="hs-identifier hs-type">p</span></a></span><span class="hs-special">)</span></span><span>
</span><span id="line-116"></span><span id="simpleImportDecl"><span class="annot"><span class="annottext">simpleImportDecl :: forall (p :: Pass). ModuleName -&gt; ImportDecl (GhcPass p)
</span><a href="GHC.Hs.ImpExp.html#simpleImportDecl"><span class="hs-identifier hs-var hs-var">simpleImportDecl</span></a></span></span><span> </span><span id="local-6989586621680912036"><span class="annot"><span class="annottext">ModuleName
</span><a href="#local-6989586621680912036"><span class="hs-identifier hs-var">mn</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">ImportDecl :: forall pass.
XCImportDecl pass
-&gt; SourceText
-&gt; Located ModuleName
-&gt; Maybe StringLiteral
-&gt; IsBootInterface
-&gt; Bool
-&gt; ImportDeclQualifiedStyle
-&gt; Bool
-&gt; Maybe (Located ModuleName)
-&gt; Maybe (Bool, Located [LIE pass])
-&gt; ImportDecl pass
</span><a href="GHC.Hs.ImpExp.html#ImportDecl"><span class="hs-identifier hs-type">ImportDecl</span></a></span><span> </span><span class="hs-special">{</span><span>
</span><span id="line-117"></span><span>      </span><span class="annot"><span class="annottext">ideclExt :: XCImportDecl (GhcPass p)
</span><a href="GHC.Hs.ImpExp.html#ideclExt"><span class="hs-identifier hs-var">ideclExt</span></a></span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">NoExtField
XCImportDecl (GhcPass p)
</span><a href="GHC.Hs.Extension.html#noExtField"><span class="hs-identifier hs-var">noExtField</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-118"></span><span>      </span><span class="annot"><span class="annottext">ideclSourceSrc :: SourceText
</span><a href="GHC.Hs.ImpExp.html#ideclSourceSrc"><span class="hs-identifier hs-var">ideclSourceSrc</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SourceText
</span><a href="GHC.Types.Basic.html#NoSourceText"><span class="hs-identifier hs-var">NoSourceText</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-119"></span><span>      </span><span class="annot"><span class="annottext">ideclName :: Located ModuleName
</span><a href="GHC.Hs.ImpExp.html#ideclName"><span class="hs-identifier hs-var">ideclName</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">ModuleName -&gt; Located ModuleName
forall e. e -&gt; Located e
</span><a href="GHC.Types.SrcLoc.html#noLoc"><span class="hs-identifier hs-var">noLoc</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleName
</span><a href="#local-6989586621680912036"><span class="hs-identifier hs-var">mn</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-120"></span><span>      </span><span class="annot"><span class="annottext">ideclPkgQual :: Maybe StringLiteral
</span><a href="GHC.Hs.ImpExp.html#ideclPkgQual"><span class="hs-identifier hs-var">ideclPkgQual</span></a></span><span>   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Maybe StringLiteral
forall a. Maybe a
</span><a href="../../base/src/GHC.Maybe.html#Nothing"><span class="hs-identifier hs-var">Nothing</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-121"></span><span>      </span><span class="annot"><span class="annottext">ideclSource :: IsBootInterface
</span><a href="GHC.Hs.ImpExp.html#ideclSource"><span class="hs-identifier hs-var">ideclSource</span></a></span><span>    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IsBootInterface
</span><a href="GHC.Unit.Types.html#NotBoot"><span class="hs-identifier hs-var">NotBoot</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-122"></span><span>      </span><span class="annot"><span class="annottext">ideclSafe :: Bool
</span><a href="GHC.Hs.ImpExp.html#ideclSafe"><span class="hs-identifier hs-var">ideclSafe</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span class="hs-special">,</span><span>
</span><span id="line-123"></span><span>      </span><span class="annot"><span class="annottext">ideclImplicit :: Bool
</span><a href="GHC.Hs.ImpExp.html#ideclImplicit"><span class="hs-identifier hs-var">ideclImplicit</span></a></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span class="hs-special">,</span><span>
</span><span id="line-124"></span><span>      </span><span class="annot"><span class="annottext">ideclQualified :: ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#ideclQualified"><span class="hs-identifier hs-var">ideclQualified</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#NotQualified"><span class="hs-identifier hs-var">NotQualified</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-125"></span><span>      </span><span class="annot"><span class="annottext">ideclAs :: Maybe (Located ModuleName)
</span><a href="GHC.Hs.ImpExp.html#ideclAs"><span class="hs-identifier hs-var">ideclAs</span></a></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Maybe (Located ModuleName)
forall a. Maybe a
</span><a href="../../base/src/GHC.Maybe.html#Nothing"><span class="hs-identifier hs-var">Nothing</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-126"></span><span>      </span><span class="annot"><span class="annottext">ideclHiding :: Maybe (Bool, Located [LIE (GhcPass p)])
</span><a href="GHC.Hs.ImpExp.html#ideclHiding"><span class="hs-identifier hs-var">ideclHiding</span></a></span><span>    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Maybe (Bool, Located [LIE (GhcPass p)])
forall a. Maybe a
</span><a href="../../base/src/GHC.Maybe.html#Nothing"><span class="hs-identifier hs-var">Nothing</span></a></span><span>
</span><span id="line-127"></span><span>    </span><span class="hs-special">}</span><span>
</span><span id="line-128"></span><span>
</span><span id="line-129"></span><span id="local-6989586621680912280"><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621680912029"><span class="annot"><a href="GHC.Hs.Extension.html#OutputableBndrId"><span class="hs-identifier hs-type">OutputableBndrId</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912280"><span class="hs-identifier hs-type">p</span></a></span><span>
</span><span id="line-130"></span><span>       </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="GHC.Utils.Outputable.html#Outputable"><span class="hs-identifier hs-type">Outputable</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDecl"><span class="hs-identifier hs-type">ImportDecl</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912280"><span class="hs-identifier hs-type">p</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-131"></span><span>    </span><span id="local-6989586621680912017"><span class="annot"><span class="annottext">ppr :: ImportDecl (GhcPass p) -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var hs-var hs-var hs-var">ppr</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#ImportDecl"><span class="hs-identifier hs-type">ImportDecl</span></a></span><span> </span><span class="hs-special">{</span><span> </span><span class="annot"><span class="annottext">ideclSourceSrc :: forall pass. ImportDecl pass -&gt; SourceText
</span><a href="GHC.Hs.ImpExp.html#ideclSourceSrc"><span class="hs-identifier hs-var">ideclSourceSrc</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="local-6989586621680912015"><span class="annot"><span class="annottext">SourceText
</span><a href="#local-6989586621680912015"><span class="hs-identifier hs-var">mSrcText</span></a></span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ideclName :: forall pass. ImportDecl pass -&gt; Located ModuleName
</span><a href="GHC.Hs.ImpExp.html#ideclName"><span class="hs-identifier hs-var">ideclName</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="local-6989586621680912014"><span class="annot"><span class="annottext">Located ModuleName
</span><a href="#local-6989586621680912014"><span class="hs-identifier hs-var">mod'</span></a></span></span><span>
</span><span id="line-132"></span><span>                    </span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ideclPkgQual :: forall pass. ImportDecl pass -&gt; Maybe StringLiteral
</span><a href="GHC.Hs.ImpExp.html#ideclPkgQual"><span class="hs-identifier hs-var">ideclPkgQual</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="local-6989586621680912013"><span class="annot"><span class="annottext">Maybe StringLiteral
</span><a href="#local-6989586621680912013"><span class="hs-identifier hs-var">pkg</span></a></span></span><span>
</span><span id="line-133"></span><span>                    </span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ideclSource :: forall pass. ImportDecl pass -&gt; IsBootInterface
</span><a href="GHC.Hs.ImpExp.html#ideclSource"><span class="hs-identifier hs-var">ideclSource</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="local-6989586621680912012"><span class="annot"><span class="annottext">IsBootInterface
</span><a href="#local-6989586621680912012"><span class="hs-identifier hs-var">from</span></a></span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ideclSafe :: forall pass. ImportDecl pass -&gt; Bool
</span><a href="GHC.Hs.ImpExp.html#ideclSafe"><span class="hs-identifier hs-var">ideclSafe</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="local-6989586621680912011"><span class="annot"><span class="annottext">Bool
</span><a href="#local-6989586621680912011"><span class="hs-keyword hs-var">safe</span></a></span></span><span>
</span><span id="line-134"></span><span>                    </span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ideclQualified :: forall pass. ImportDecl pass -&gt; ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#ideclQualified"><span class="hs-identifier hs-var">ideclQualified</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="local-6989586621680912010"><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="#local-6989586621680912010"><span class="hs-identifier hs-var">qual</span></a></span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ideclImplicit :: forall pass. ImportDecl pass -&gt; Bool
</span><a href="GHC.Hs.ImpExp.html#ideclImplicit"><span class="hs-identifier hs-var">ideclImplicit</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="local-6989586621680912009"><span class="annot"><span class="annottext">Bool
</span><a href="#local-6989586621680912009"><span class="hs-identifier hs-var">implicit</span></a></span></span><span>
</span><span id="line-135"></span><span>                    </span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ideclAs :: forall pass. ImportDecl pass -&gt; Maybe (Located ModuleName)
</span><a href="GHC.Hs.ImpExp.html#ideclAs"><span class="hs-identifier hs-var">ideclAs</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="local-6989586621680912008"><span class="annot"><span class="annottext">Maybe (Located ModuleName)
</span><a href="#local-6989586621680912008"><span class="hs-keyword hs-var">as</span></a></span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ideclHiding :: forall pass. ImportDecl pass -&gt; Maybe (Bool, Located [LIE pass])
</span><a href="GHC.Hs.ImpExp.html#ideclHiding"><span class="hs-identifier hs-var">ideclHiding</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="local-6989586621680912007"><span class="annot"><span class="annottext">Maybe (Bool, Located [LIE (GhcPass p)])
</span><a href="#local-6989586621680912007"><span class="hs-identifier hs-var">spec</span></a></span></span><span> </span><span class="hs-special">}</span><span class="hs-special">)</span><span>
</span><span id="line-136"></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; Int -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#hang"><span class="hs-identifier hs-var">hang</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">[SDoc] -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#hsep"><span class="hs-identifier hs-var">hsep</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;import&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">IsBootInterface -&gt; SDoc
</span><a href="#local-6989586621680912003"><span class="hs-identifier hs-var">ppr_imp</span></a></span><span> </span><span class="annot"><span class="annottext">IsBootInterface
</span><a href="#local-6989586621680912012"><span class="hs-identifier hs-var">from</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; SDoc
</span><a href="#local-6989586621680912002"><span class="hs-identifier hs-var">pp_implicit</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="#local-6989586621680912009"><span class="hs-identifier hs-var">implicit</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; SDoc
</span><a href="#local-6989586621680912001"><span class="hs-identifier hs-var">pp_safe</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="#local-6989586621680912011"><span class="hs-keyword hs-var">safe</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-137"></span><span>                    </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle -&gt; Bool -&gt; SDoc
</span><a href="#local-6989586621680912000"><span class="hs-identifier hs-var">pp_qual</span></a></span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="#local-6989586621680912010"><span class="hs-identifier hs-var">qual</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Maybe StringLiteral -&gt; SDoc
</span><a href="#local-6989586621680911999"><span class="hs-identifier hs-var">pp_pkg</span></a></span><span> </span><span class="annot"><span class="annottext">Maybe StringLiteral
</span><a href="#local-6989586621680912013"><span class="hs-identifier hs-var">pkg</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Located ModuleName -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="annot"><span class="annottext">Located ModuleName
</span><a href="#local-6989586621680912014"><span class="hs-identifier hs-var">mod'</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle -&gt; Bool -&gt; SDoc
</span><a href="#local-6989586621680912000"><span class="hs-identifier hs-var">pp_qual</span></a></span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="#local-6989586621680912010"><span class="hs-identifier hs-var">qual</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Maybe (Located ModuleName) -&gt; SDoc
forall {a}. Outputable a =&gt; Maybe a -&gt; SDoc
</span><a href="#local-6989586621680911998"><span class="hs-identifier hs-var">pp_as</span></a></span><span> </span><span class="annot"><span class="annottext">Maybe (Located ModuleName)
</span><a href="#local-6989586621680912008"><span class="hs-keyword hs-var">as</span></a></span><span class="hs-special">]</span><span class="hs-special">)</span><span>
</span><span id="line-138"></span><span>             </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">4</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Maybe (Bool, Located [LIE (GhcPass p)]) -&gt; SDoc
forall {a} {l}.
Outputable a =&gt;
Maybe (Bool, GenLocated l [a]) -&gt; SDoc
</span><a href="#local-6989586621680911997"><span class="hs-identifier hs-var">pp_spec</span></a></span><span> </span><span class="annot"><span class="annottext">Maybe (Bool, Located [LIE (GhcPass p)])
</span><a href="#local-6989586621680912007"><span class="hs-identifier hs-var">spec</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-139"></span><span>      </span><span class="hs-keyword">where</span><span>
</span><span id="line-140"></span><span>        </span><span id="local-6989586621680912002"><span class="annot"><span class="annottext">pp_implicit :: Bool -&gt; SDoc
</span><a href="#local-6989586621680912002"><span class="hs-identifier hs-var hs-var">pp_implicit</span></a></span></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span>
</span><span id="line-141"></span><span>        </span><span class="annot"><a href="#local-6989586621680912002"><span class="hs-identifier hs-var">pp_implicit</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PtrString -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ptext"><span class="hs-identifier hs-var">ptext</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">String -&gt; PtrString
</span><a href="GHC.Data.FastString.html#sLit"><span class="hs-identifier hs-var">sLit</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;(implicit)&quot;</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-142"></span><span>
</span><span id="line-143"></span><span>        </span><span id="local-6989586621680911999"><span class="annot"><span class="annottext">pp_pkg :: Maybe StringLiteral -&gt; SDoc
</span><a href="#local-6989586621680911999"><span class="hs-identifier hs-var hs-var">pp_pkg</span></a></span></span><span> </span><span class="annot"><span class="annottext">Maybe StringLiteral
</span><a href="../../base/src/GHC.Maybe.html#Nothing"><span class="hs-identifier hs-var">Nothing</span></a></span><span>                    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span>
</span><span id="line-144"></span><span>        </span><span class="annot"><a href="#local-6989586621680911999"><span class="hs-identifier hs-var">pp_pkg</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Just"><span class="hs-identifier hs-type">Just</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.Basic.html#StringLiteral"><span class="hs-identifier hs-type">StringLiteral</span></a></span><span> </span><span id="local-6989586621680911992"><span class="annot"><span class="annottext">SourceText
</span><a href="#local-6989586621680911992"><span class="hs-identifier hs-var">st</span></a></span></span><span> </span><span id="local-6989586621680911991"><span class="annot"><span class="annottext">FastString
</span><a href="#local-6989586621680911991"><span class="hs-identifier hs-var">p</span></a></span></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-145"></span><span>          </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SourceText -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Types.Basic.html#pprWithSourceText"><span class="hs-identifier hs-var">pprWithSourceText</span></a></span><span> </span><span class="annot"><span class="annottext">SourceText
</span><a href="#local-6989586621680911992"><span class="hs-identifier hs-var">st</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#doubleQuotes"><span class="hs-identifier hs-var">doubleQuotes</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">FastString -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ftext"><span class="hs-identifier hs-var">ftext</span></a></span><span> </span><span class="annot"><span class="annottext">FastString
</span><a href="#local-6989586621680911991"><span class="hs-identifier hs-var">p</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-146"></span><span>
</span><span id="line-147"></span><span>        </span><span id="local-6989586621680912000"><span class="annot"><span class="annottext">pp_qual :: ImportDeclQualifiedStyle -&gt; Bool -&gt; SDoc
</span><a href="#local-6989586621680912000"><span class="hs-identifier hs-var hs-var">pp_qual</span></a></span></span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#QualifiedPre"><span class="hs-identifier hs-var">QualifiedPre</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;qualified&quot;</span></span><span> </span><span class="hs-comment">-- Prepositive qualifier/prepositive position.</span><span>
</span><span id="line-148"></span><span>        </span><span class="annot"><a href="#local-6989586621680912000"><span class="hs-identifier hs-var">pp_qual</span></a></span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#QualifiedPost"><span class="hs-identifier hs-var">QualifiedPost</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;qualified&quot;</span></span><span> </span><span class="hs-comment">-- Postpositive qualifier/postpositive position.</span><span>
</span><span id="line-149"></span><span>        </span><span class="annot"><a href="#local-6989586621680912000"><span class="hs-identifier hs-var">pp_qual</span></a></span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#QualifiedPre"><span class="hs-identifier hs-var">QualifiedPre</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span> </span><span class="hs-comment">-- Prepositive qualifier/postpositive position.</span><span>
</span><span id="line-150"></span><span>        </span><span class="annot"><a href="#local-6989586621680912000"><span class="hs-identifier hs-var">pp_qual</span></a></span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#QualifiedPost"><span class="hs-identifier hs-var">QualifiedPost</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span> </span><span class="hs-comment">-- Postpositive qualifier/prepositive position.</span><span>
</span><span id="line-151"></span><span>        </span><span class="annot"><a href="#local-6989586621680912000"><span class="hs-identifier hs-var">pp_qual</span></a></span><span> </span><span class="annot"><span class="annottext">ImportDeclQualifiedStyle
</span><a href="GHC.Hs.ImpExp.html#NotQualified"><span class="hs-identifier hs-var">NotQualified</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span>
</span><span id="line-152"></span><span>
</span><span id="line-153"></span><span>        </span><span id="local-6989586621680912001"><span class="annot"><span class="annottext">pp_safe :: Bool -&gt; SDoc
</span><a href="#local-6989586621680912001"><span class="hs-identifier hs-var hs-var">pp_safe</span></a></span></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span>   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span>
</span><span id="line-154"></span><span>        </span><span class="annot"><a href="#local-6989586621680912001"><span class="hs-identifier hs-var">pp_safe</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span>    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;safe&quot;</span></span><span>
</span><span id="line-155"></span><span>
</span><span id="line-156"></span><span>        </span><span id="local-6989586621680911998"><span class="annot"><span class="annottext">pp_as :: Maybe a -&gt; SDoc
</span><a href="#local-6989586621680911998"><span class="hs-identifier hs-var hs-var">pp_as</span></a></span></span><span> </span><span class="annot"><span class="annottext">Maybe a
</span><a href="../../base/src/GHC.Maybe.html#Nothing"><span class="hs-identifier hs-var">Nothing</span></a></span><span>   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span>
</span><span id="line-157"></span><span>        </span><span class="annot"><a href="#local-6989586621680911998"><span class="hs-identifier hs-var">pp_as</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Just"><span class="hs-identifier hs-type">Just</span></a></span><span> </span><span id="local-6989586621680911986"><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621680911986"><span class="hs-identifier hs-var">a</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;as&quot;</span></span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">a -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621680911986"><span class="hs-identifier hs-var">a</span></a></span><span>
</span><span id="line-158"></span><span>
</span><span id="line-159"></span><span>        </span><span id="local-6989586621680912003"><span class="annot"><span class="annottext">ppr_imp :: IsBootInterface -&gt; SDoc
</span><a href="#local-6989586621680912003"><span class="hs-identifier hs-var hs-var">ppr_imp</span></a></span></span><span> </span><span class="annot"><span class="annottext">IsBootInterface
</span><a href="GHC.Unit.Types.html#IsBoot"><span class="hs-identifier hs-var">IsBoot</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">SourceText
</span><a href="#local-6989586621680912015"><span class="hs-identifier hs-var">mSrcText</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-160"></span><span>                          </span><span class="annot"><span class="annottext">SourceText
</span><a href="GHC.Types.Basic.html#NoSourceText"><span class="hs-identifier hs-var">NoSourceText</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;{-# SOURCE #-}&quot;</span></span><span>
</span><span id="line-161"></span><span>                          </span><span class="annot"><a href="GHC.Types.Basic.html#SourceText"><span class="hs-identifier hs-type">SourceText</span></a></span><span> </span><span id="local-6989586621680911982"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621680911982"><span class="hs-identifier hs-var">src</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621680911982"><span class="hs-identifier hs-var">src</span></a></span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;#-}&quot;</span></span><span>
</span><span id="line-162"></span><span>        </span><span class="annot"><a href="#local-6989586621680912003"><span class="hs-identifier hs-var">ppr_imp</span></a></span><span> </span><span class="annot"><span class="annottext">IsBootInterface
</span><a href="GHC.Unit.Types.html#NotBoot"><span class="hs-identifier hs-var">NotBoot</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span>
</span><span id="line-163"></span><span>
</span><span id="line-164"></span><span>        </span><span id="local-6989586621680911997"><span class="annot"><span class="annottext">pp_spec :: Maybe (Bool, GenLocated l [a]) -&gt; SDoc
</span><a href="#local-6989586621680911997"><span class="hs-identifier hs-var hs-var">pp_spec</span></a></span></span><span> </span><span class="annot"><span class="annottext">Maybe (Bool, GenLocated l [a])
</span><a href="../../base/src/GHC.Maybe.html#Nothing"><span class="hs-identifier hs-var">Nothing</span></a></span><span>             </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span>
</span><span id="line-165"></span><span>        </span><span class="annot"><a href="#local-6989586621680911997"><span class="hs-identifier hs-var">pp_spec</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Just"><span class="hs-identifier hs-type">Just</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span class="hs-special">,</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">l
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911977"><span class="annot"><span class="annottext">[a]
</span><a href="#local-6989586621680911977"><span class="hs-identifier hs-var">ies</span></a></span></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">[a] -&gt; SDoc
forall {a}. Outputable a =&gt; [a] -&gt; SDoc
</span><a href="#local-6989586621680911976"><span class="hs-identifier hs-var">ppr_ies</span></a></span><span> </span><span class="annot"><span class="annottext">[a]
</span><a href="#local-6989586621680911977"><span class="hs-identifier hs-var">ies</span></a></span><span>
</span><span id="line-166"></span><span>        </span><span class="annot"><a href="#local-6989586621680911997"><span class="hs-identifier hs-var">pp_spec</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Just"><span class="hs-identifier hs-type">Just</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span class="hs-special">,</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">l
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911975"><span class="annot"><span class="annottext">[a]
</span><a href="#local-6989586621680911975"><span class="hs-identifier hs-var">ies</span></a></span></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;hiding&quot;</span></span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">[a] -&gt; SDoc
forall {a}. Outputable a =&gt; [a] -&gt; SDoc
</span><a href="#local-6989586621680911976"><span class="hs-identifier hs-var">ppr_ies</span></a></span><span> </span><span class="annot"><span class="annottext">[a]
</span><a href="#local-6989586621680911975"><span class="hs-identifier hs-var">ies</span></a></span><span>
</span><span id="line-167"></span><span>
</span><span id="line-168"></span><span>        </span><span id="local-6989586621680911976"><span class="annot"><span class="annottext">ppr_ies :: [a] -&gt; SDoc
</span><a href="#local-6989586621680911976"><span class="hs-identifier hs-var hs-var">ppr_ies</span></a></span></span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;()&quot;</span></span><span>
</span><span id="line-169"></span><span>        </span><span class="annot"><a href="#local-6989586621680911976"><span class="hs-identifier hs-var">ppr_ies</span></a></span><span> </span><span id="local-6989586621680911972"><span class="annot"><span class="annottext">[a]
</span><a href="#local-6989586621680911972"><span class="hs-identifier hs-var">ies</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Char -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#char"><span class="hs-identifier hs-var">char</span></a></span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">'('</span></span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">[a] -&gt; SDoc
forall {a}. Outputable a =&gt; [a] -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#interpp%27SP"><span class="hs-identifier hs-var">interpp'SP</span></a></span><span> </span><span class="annot"><span class="annottext">[a]
</span><a href="#local-6989586621680911972"><span class="hs-identifier hs-var">ies</span></a></span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Char -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#char"><span class="hs-identifier hs-var">char</span></a></span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">')'</span></span></span><span>
</span><span id="line-170"></span><span>
</span><span id="line-171"></span><span class="hs-comment">{-
************************************************************************
*                                                                      *
\subsection{Imported and exported entities}
*                                                                      *
************************************************************************
-}</span><span>
</span><span id="line-178"></span><span>
</span><span id="line-179"></span><span class="hs-comment">-- | A name in an import or export specification which may have adornments. Used</span><span>
</span><span id="line-180"></span><span class="hs-comment">-- primarily for accurate pretty printing of ParsedSource, and API Annotation</span><span>
</span><span id="line-181"></span><span class="hs-comment">-- placement.</span><span>
</span><span id="line-182"></span><span class="hs-keyword">data</span><span> </span><span id="IEWrappedName"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWrappedName"><span class="hs-identifier hs-var">IEWrappedName</span></a></span></span><span> </span><span id="local-6989586621680912266"><span class="annot"><a href="#local-6989586621680912266"><span class="hs-identifier hs-type">name</span></a></span></span><span>
</span><span id="line-183"></span><span>  </span><span class="hs-glyph">=</span><span> </span><span id="IEName"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEName"><span class="hs-identifier hs-var">IEName</span></a></span></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912266"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span><span>  </span><span class="hs-comment">-- ^ no extra</span><span>
</span><span id="line-184"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="IEPattern"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEPattern"><span class="hs-identifier hs-var">IEPattern</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912266"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span><span>  </span><span class="hs-comment">-- ^ pattern X</span><span>
</span><span id="line-185"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="IEType"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEType"><span class="hs-identifier hs-var">IEType</span></a></span></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912266"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span><span>  </span><span class="hs-comment">-- ^ type (:+:)</span><span>
</span><span id="line-186"></span><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621680911958"><span id="local-6989586621680911965"><span class="annot"><span class="annottext">IEWrappedName name -&gt; IEWrappedName name -&gt; Bool
(IEWrappedName name -&gt; IEWrappedName name -&gt; Bool)
-&gt; (IEWrappedName name -&gt; IEWrappedName name -&gt; Bool)
-&gt; Eq (IEWrappedName name)
forall name.
Eq name =&gt;
IEWrappedName name -&gt; IEWrappedName name -&gt; Bool
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: IEWrappedName name -&gt; IEWrappedName name -&gt; Bool
$c/= :: forall name.
Eq name =&gt;
IEWrappedName name -&gt; IEWrappedName name -&gt; Bool
== :: IEWrappedName name -&gt; IEWrappedName name -&gt; Bool
$c== :: forall name.
Eq name =&gt;
IEWrappedName name -&gt; IEWrappedName name -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span id="local-6989586621680911913"><span id="local-6989586621680911915"><span id="local-6989586621680911917"><span id="local-6989586621680911919"><span id="local-6989586621680911921"><span id="local-6989586621680911923"><span id="local-6989586621680911925"><span id="local-6989586621680911927"><span id="local-6989586621680911929"><span id="local-6989586621680911935"><span id="local-6989586621680911937"><span id="local-6989586621680911939"><span id="local-6989586621680911945"><span id="local-6989586621680911952"><span class="annot"><span class="annottext">Typeable (IEWrappedName name)
Typeable (IEWrappedName name)
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g)
    -&gt; IEWrappedName name
    -&gt; c (IEWrappedName name))
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c (IEWrappedName name))
-&gt; (IEWrappedName name -&gt; Constr)
-&gt; (IEWrappedName name -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c (IEWrappedName name)))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e))
    -&gt; Maybe (c (IEWrappedName name)))
-&gt; ((forall b. Data b =&gt; b -&gt; b)
    -&gt; IEWrappedName name -&gt; IEWrappedName name)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r)
-&gt; (forall u.
    (forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; [u])
-&gt; (forall u.
    Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; IEWrappedName name -&gt; m (IEWrappedName name))
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; IEWrappedName name -&gt; m (IEWrappedName name))
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; IEWrappedName name -&gt; m (IEWrappedName name))
-&gt; Data (IEWrappedName name)
IEWrappedName name -&gt; DataType
IEWrappedName name -&gt; Constr
(forall b. Data b =&gt; b -&gt; b)
-&gt; IEWrappedName name -&gt; IEWrappedName name
forall {name}. Data name =&gt; Typeable (IEWrappedName name)
forall name. Data name =&gt; IEWrappedName name -&gt; DataType
forall name. Data name =&gt; IEWrappedName name -&gt; Constr
forall name.
Data name =&gt;
(forall b. Data b =&gt; b -&gt; b)
-&gt; IEWrappedName name -&gt; IEWrappedName name
forall name u.
Data name =&gt;
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; u
forall name u.
Data name =&gt;
(forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; [u]
forall name r r'.
Data name =&gt;
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r
forall name r r'.
Data name =&gt;
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r
forall name (m :: * -&gt; *).
(Data name, Monad m) =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
forall name (m :: * -&gt; *).
(Data name, MonadPlus m) =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
forall name (c :: * -&gt; *).
Data name =&gt;
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c (IEWrappedName name)
forall name (c :: * -&gt; *).
Data name =&gt;
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g)
-&gt; IEWrappedName name
-&gt; c (IEWrappedName name)
forall name (t :: * -&gt; *) (c :: * -&gt; *).
(Data name, Typeable t) =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c (IEWrappedName name))
forall name (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
(Data name, Typeable t) =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c (IEWrappedName name))
forall a.
Typeable a
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; a -&gt; c a)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c a)
-&gt; (a -&gt; Constr)
-&gt; (a -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c a))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c a))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; a -&gt; a)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; Data a
forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; u
forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; [u]
forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r
forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r
forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c (IEWrappedName name)
forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g)
-&gt; IEWrappedName name
-&gt; c (IEWrappedName name)
forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c (IEWrappedName name))
forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c (IEWrappedName name))
gmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
$cgmapMo :: forall name (m :: * -&gt; *).
(Data name, MonadPlus m) =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
gmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
$cgmapMp :: forall name (m :: * -&gt; *).
(Data name, MonadPlus m) =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
gmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
$cgmapM :: forall name (m :: * -&gt; *).
(Data name, Monad m) =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IEWrappedName name -&gt; m (IEWrappedName name)
gmapQi :: forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; u
$cgmapQi :: forall name u.
Data name =&gt;
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; u
gmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; [u]
$cgmapQ :: forall name u.
Data name =&gt;
(forall d. Data d =&gt; d -&gt; u) -&gt; IEWrappedName name -&gt; [u]
gmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r
$cgmapQr :: forall name r r'.
Data name =&gt;
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r
gmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r
$cgmapQl :: forall name r r'.
Data name =&gt;
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWrappedName name -&gt; r
gmapT :: (forall b. Data b =&gt; b -&gt; b)
-&gt; IEWrappedName name -&gt; IEWrappedName name
$cgmapT :: forall name.
Data name =&gt;
(forall b. Data b =&gt; b -&gt; b)
-&gt; IEWrappedName name -&gt; IEWrappedName name
dataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c (IEWrappedName name))
$cdataCast2 :: forall name (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
(Data name, Typeable t) =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c (IEWrappedName name))
dataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c (IEWrappedName name))
$cdataCast1 :: forall name (t :: * -&gt; *) (c :: * -&gt; *).
(Data name, Typeable t) =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c (IEWrappedName name))
dataTypeOf :: IEWrappedName name -&gt; DataType
$cdataTypeOf :: forall name. Data name =&gt; IEWrappedName name -&gt; DataType
toConstr :: IEWrappedName name -&gt; Constr
$ctoConstr :: forall name. Data name =&gt; IEWrappedName name -&gt; Constr
gunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c (IEWrappedName name)
$cgunfold :: forall name (c :: * -&gt; *).
Data name =&gt;
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c (IEWrappedName name)
gfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g)
-&gt; IEWrappedName name
-&gt; c (IEWrappedName name)
$cgfoldl :: forall name (c :: * -&gt; *).
Data name =&gt;
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g)
-&gt; IEWrappedName name
-&gt; c (IEWrappedName name)
</span><a href="../../base/src/Data.Data.html#Data"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Data</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span class="hs-special">)</span><span>
</span><span id="line-187"></span><span>
</span><span id="line-188"></span><span class="hs-comment">-- | Located name with possible adornment</span><span>
</span><span id="line-189"></span><span class="hs-comment">-- - 'GHC.Parser.Annotation.AnnKeywordId's : 'GHC.Parser.Annotation.AnnType',</span><span>
</span><span id="line-190"></span><span class="hs-comment">--         'GHC.Parser.Annotation.AnnPattern'</span><span>
</span><span id="line-191"></span><span class="hs-keyword">type</span><span> </span><span id="LIEWrappedName"><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-var">LIEWrappedName</span></a></span></span><span> </span><span id="local-6989586621680911911"><span class="annot"><a href="#local-6989586621680911911"><span class="hs-identifier hs-type">name</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWrappedName"><span class="hs-identifier hs-type">IEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911911"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-192"></span><span class="hs-comment">-- For details on above see note [Api annotations] in GHC.Parser.Annotation</span><span>
</span><span id="line-193"></span><span>
</span><span id="line-194"></span><span>
</span><span id="line-195"></span><span class="hs-comment">-- | Located Import or Export</span><span>
</span><span id="line-196"></span><span class="hs-keyword">type</span><span> </span><span id="LIE"><span class="annot"><a href="GHC.Hs.ImpExp.html#LIE"><span class="hs-identifier hs-var">LIE</span></a></span></span><span> </span><span id="local-6989586621680911910"><span class="annot"><a href="#local-6989586621680911910"><span class="hs-identifier hs-type">pass</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IE"><span class="hs-identifier hs-type">IE</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911910"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-197"></span><span>        </span><span class="hs-comment">-- ^ When in a list this may have</span><span>
</span><span id="line-198"></span><span>        </span><span class="hs-comment">--</span><span>
</span><span id="line-199"></span><span>        </span><span class="hs-comment">--  - 'GHC.Parser.Annotation.AnnKeywordId' : 'GHC.Parser.Annotation.AnnComma'</span><span>
</span><span id="line-200"></span><span>
</span><span id="line-201"></span><span>        </span><span class="hs-comment">-- For details on above see note [Api annotations] in GHC.Parser.Annotation</span><span>
</span><span id="line-202"></span><span>
</span><span id="line-203"></span><span class="hs-comment">-- | Imported or exported entity.</span><span>
</span><span id="line-204"></span><span class="hs-keyword">data</span><span> </span><span id="IE"><span class="annot"><a href="GHC.Hs.ImpExp.html#IE"><span class="hs-identifier hs-var">IE</span></a></span></span><span> </span><span id="local-6989586621680911909"><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span></span><span>
</span><span id="line-205"></span><span>  </span><span class="hs-glyph">=</span><span> </span><span id="IEVar"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEVar"><span class="hs-identifier hs-var">IEVar</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XIEVar"><span class="hs-identifier hs-type">XIEVar</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-type">LIEWrappedName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#IdP"><span class="hs-identifier hs-type">IdP</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-206"></span><span>        </span><span class="hs-comment">-- ^ Imported or Exported Variable</span><span>
</span><span id="line-207"></span><span>
</span><span id="line-208"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="IEThingAbs"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingAbs"><span class="hs-identifier hs-var">IEThingAbs</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XIEThingAbs"><span class="hs-identifier hs-type">XIEThingAbs</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-type">LIEWrappedName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#IdP"><span class="hs-identifier hs-type">IdP</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-209"></span><span>        </span><span class="hs-comment">-- ^ Imported or exported Thing with Absent list</span><span>
</span><span id="line-210"></span><span>        </span><span class="hs-comment">--</span><span>
</span><span id="line-211"></span><span>        </span><span class="hs-comment">-- The thing is a Class/Type (can't tell)</span><span>
</span><span id="line-212"></span><span>        </span><span class="hs-comment">--  - 'GHC.Parser.Annotation.AnnKeywordId's : 'GHC.Parser.Annotation.AnnPattern',</span><span>
</span><span id="line-213"></span><span>        </span><span class="hs-comment">--             'GHC.Parser.Annotation.AnnType','GHC.Parser.Annotation.AnnVal'</span><span>
</span><span id="line-214"></span><span>
</span><span id="line-215"></span><span>        </span><span class="hs-comment">-- For details on above see note [Api annotations] in GHC.Parser.Annotation</span><span>
</span><span id="line-216"></span><span>        </span><span class="hs-comment">-- See Note [Located RdrNames] in GHC.Hs.Expr</span><span>
</span><span id="line-217"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="IEThingAll"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingAll"><span class="hs-identifier hs-var">IEThingAll</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XIEThingAll"><span class="hs-identifier hs-type">XIEThingAll</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-type">LIEWrappedName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#IdP"><span class="hs-identifier hs-type">IdP</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-218"></span><span>        </span><span class="hs-comment">-- ^ Imported or exported Thing with All imported or exported</span><span>
</span><span id="line-219"></span><span>        </span><span class="hs-comment">--</span><span>
</span><span id="line-220"></span><span>        </span><span class="hs-comment">-- The thing is a Class/Type and the All refers to methods/constructors</span><span>
</span><span id="line-221"></span><span>        </span><span class="hs-comment">--</span><span>
</span><span id="line-222"></span><span>        </span><span class="hs-comment">-- - 'GHC.Parser.Annotation.AnnKeywordId's : 'GHC.Parser.Annotation.AnnOpen',</span><span>
</span><span id="line-223"></span><span>        </span><span class="hs-comment">--       'GHC.Parser.Annotation.AnnDotdot','GHC.Parser.Annotation.AnnClose',</span><span>
</span><span id="line-224"></span><span>        </span><span class="hs-comment">--                                 'GHC.Parser.Annotation.AnnType'</span><span>
</span><span id="line-225"></span><span>
</span><span id="line-226"></span><span>        </span><span class="hs-comment">-- For details on above see note [Api annotations] in GHC.Parser.Annotation</span><span>
</span><span id="line-227"></span><span>        </span><span class="hs-comment">-- See Note [Located RdrNames] in GHC.Hs.Expr</span><span>
</span><span id="line-228"></span><span>
</span><span id="line-229"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="IEThingWith"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingWith"><span class="hs-identifier hs-var">IEThingWith</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XIEThingWith"><span class="hs-identifier hs-type">XIEThingWith</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-230"></span><span>                </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-type">LIEWrappedName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#IdP"><span class="hs-identifier hs-type">IdP</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-231"></span><span>                </span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWildcard"><span class="hs-identifier hs-type">IEWildcard</span></a></span><span>
</span><span id="line-232"></span><span>                </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-type">LIEWrappedName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#IdP"><span class="hs-identifier hs-type">IdP</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span class="hs-special">]</span><span>
</span><span id="line-233"></span><span>                </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.FieldLabel.html#FieldLbl"><span class="hs-identifier hs-type">FieldLbl</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#IdP"><span class="hs-identifier hs-type">IdP</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">]</span><span>
</span><span id="line-234"></span><span>        </span><span class="hs-comment">-- ^ Imported or exported Thing With given imported or exported</span><span>
</span><span id="line-235"></span><span>        </span><span class="hs-comment">--</span><span>
</span><span id="line-236"></span><span>        </span><span class="hs-comment">-- The thing is a Class/Type and the imported or exported things are</span><span>
</span><span id="line-237"></span><span>        </span><span class="hs-comment">-- methods/constructors and record fields; see Note [IEThingWith]</span><span>
</span><span id="line-238"></span><span>        </span><span class="hs-comment">-- - 'GHC.Parser.Annotation.AnnKeywordId's : 'GHC.Parser.Annotation.AnnOpen',</span><span>
</span><span id="line-239"></span><span>        </span><span class="hs-comment">--                                   'GHC.Parser.Annotation.AnnClose',</span><span>
</span><span id="line-240"></span><span>        </span><span class="hs-comment">--                                   'GHC.Parser.Annotation.AnnComma',</span><span>
</span><span id="line-241"></span><span>        </span><span class="hs-comment">--                                   'GHC.Parser.Annotation.AnnType'</span><span>
</span><span id="line-242"></span><span>
</span><span id="line-243"></span><span>        </span><span class="hs-comment">-- For details on above see note [Api annotations] in GHC.Parser.Annotation</span><span>
</span><span id="line-244"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="IEModuleContents"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEModuleContents"><span class="hs-identifier hs-var">IEModuleContents</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XIEModuleContents"><span class="hs-identifier hs-type">XIEModuleContents</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="annot"><a href="GHC.Unit.Module.Name.html#ModuleName"><span class="hs-identifier hs-type">ModuleName</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-245"></span><span>        </span><span class="hs-comment">-- ^ Imported or exported module contents</span><span>
</span><span id="line-246"></span><span>        </span><span class="hs-comment">--</span><span>
</span><span id="line-247"></span><span>        </span><span class="hs-comment">-- (Export Only)</span><span>
</span><span id="line-248"></span><span>        </span><span class="hs-comment">--</span><span>
</span><span id="line-249"></span><span>        </span><span class="hs-comment">-- - 'GHC.Parser.Annotation.AnnKeywordId's : 'GHC.Parser.Annotation.AnnModule'</span><span>
</span><span id="line-250"></span><span>
</span><span id="line-251"></span><span>        </span><span class="hs-comment">-- For details on above see note [Api annotations] in GHC.Parser.Annotation</span><span>
</span><span id="line-252"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="IEGroup"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEGroup"><span class="hs-identifier hs-var">IEGroup</span></a></span></span><span>             </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XIEGroup"><span class="hs-identifier hs-type">XIEGroup</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span> </span><span class="annot"><a href="GHC.Hs.Doc.html#HsDocString"><span class="hs-identifier hs-type">HsDocString</span></a></span><span> </span><span class="hs-comment">-- ^ Doc section heading</span><span>
</span><span id="line-253"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="IEDoc"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEDoc"><span class="hs-identifier hs-var">IEDoc</span></a></span></span><span>               </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XIEDoc"><span class="hs-identifier hs-type">XIEDoc</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><a href="GHC.Hs.Doc.html#HsDocString"><span class="hs-identifier hs-type">HsDocString</span></a></span><span>       </span><span class="hs-comment">-- ^ Some documentation</span><span>
</span><span id="line-254"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="IEDocNamed"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEDocNamed"><span class="hs-identifier hs-var">IEDocNamed</span></a></span></span><span>          </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XIEDocNamed"><span class="hs-identifier hs-type">XIEDocNamed</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>    </span><span class="hs-comment">-- ^ Reference to named doc</span><span>
</span><span id="line-255"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="XIE"><span class="annot"><a href="GHC.Hs.ImpExp.html#XIE"><span class="hs-identifier hs-var">XIE</span></a></span></span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#XXIE"><span class="hs-identifier hs-type">XXIE</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680911909"><span class="hs-identifier hs-type">pass</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-256"></span><span>
</span><span id="line-257"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XIEVar"><span class="annot"><a href="GHC.Hs.Extension.html#XIEVar"><span class="hs-identifier hs-var">XIEVar</span></a></span></span><span>             </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtField"><span class="hs-identifier hs-type">NoExtField</span></a></span><span>
</span><span id="line-258"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XIEThingAbs"><span class="annot"><a href="GHC.Hs.Extension.html#XIEThingAbs"><span class="hs-identifier hs-var">XIEThingAbs</span></a></span></span><span>        </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtField"><span class="hs-identifier hs-type">NoExtField</span></a></span><span>
</span><span id="line-259"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XIEThingAll"><span class="annot"><a href="GHC.Hs.Extension.html#XIEThingAll"><span class="hs-identifier hs-var">XIEThingAll</span></a></span></span><span>        </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtField"><span class="hs-identifier hs-type">NoExtField</span></a></span><span>
</span><span id="line-260"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XIEThingWith"><span class="annot"><a href="GHC.Hs.Extension.html#XIEThingWith"><span class="hs-identifier hs-var">XIEThingWith</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtField"><span class="hs-identifier hs-type">NoExtField</span></a></span><span>
</span><span id="line-261"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XIEModuleContents"><span class="annot"><a href="GHC.Hs.Extension.html#XIEModuleContents"><span class="hs-identifier hs-var">XIEModuleContents</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtField"><span class="hs-identifier hs-type">NoExtField</span></a></span><span>
</span><span id="line-262"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XIEGroup"><span class="annot"><a href="GHC.Hs.Extension.html#XIEGroup"><span class="hs-identifier hs-var">XIEGroup</span></a></span></span><span>           </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtField"><span class="hs-identifier hs-type">NoExtField</span></a></span><span>
</span><span id="line-263"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XIEDoc"><span class="annot"><a href="GHC.Hs.Extension.html#XIEDoc"><span class="hs-identifier hs-var">XIEDoc</span></a></span></span><span>             </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtField"><span class="hs-identifier hs-type">NoExtField</span></a></span><span>
</span><span id="line-264"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XIEDocNamed"><span class="annot"><a href="GHC.Hs.Extension.html#XIEDocNamed"><span class="hs-identifier hs-var">XIEDocNamed</span></a></span></span><span>        </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtField"><span class="hs-identifier hs-type">NoExtField</span></a></span><span>
</span><span id="line-265"></span><span class="hs-keyword">type</span><span> </span><span class="hs-keyword">instance</span><span> </span><span id="XXIE"><span class="annot"><a href="GHC.Hs.Extension.html#XXIE"><span class="hs-identifier hs-var">XXIE</span></a></span></span><span>               </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#NoExtCon"><span class="hs-identifier hs-type">NoExtCon</span></a></span><span>
</span><span id="line-266"></span><span>
</span><span id="line-267"></span><span class="hs-comment">-- | Imported or Exported Wildcard</span><span>
</span><span id="line-268"></span><span class="hs-keyword">data</span><span> </span><span id="IEWildcard"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWildcard"><span class="hs-identifier hs-var">IEWildcard</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="NoIEWildcard"><span class="annot"><a href="GHC.Hs.ImpExp.html#NoIEWildcard"><span class="hs-identifier hs-var">NoIEWildcard</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span id="IEWildcard"><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWildcard"><span class="hs-identifier hs-var">IEWildcard</span></a></span></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621680911891"><span id="local-6989586621680911895"><span class="annot"><span class="annottext">IEWildcard -&gt; IEWildcard -&gt; Bool
(IEWildcard -&gt; IEWildcard -&gt; Bool)
-&gt; (IEWildcard -&gt; IEWildcard -&gt; Bool) -&gt; Eq IEWildcard
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: IEWildcard -&gt; IEWildcard -&gt; Bool
$c/= :: IEWildcard -&gt; IEWildcard -&gt; Bool
== :: IEWildcard -&gt; IEWildcard -&gt; Bool
$c== :: IEWildcard -&gt; IEWildcard -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621680911858"><span id="local-6989586621680911860"><span id="local-6989586621680911862"><span id="local-6989586621680911864"><span id="local-6989586621680911866"><span id="local-6989586621680911868"><span id="local-6989586621680911870"><span id="local-6989586621680911872"><span id="local-6989586621680911874"><span id="local-6989586621680911876"><span id="local-6989586621680911878"><span id="local-6989586621680911880"><span id="local-6989586621680911883"><span id="local-6989586621680911887"><span class="annot"><span class="annottext">Typeable IEWildcard
Typeable IEWildcard
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; IEWildcard -&gt; c IEWildcard)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c IEWildcard)
-&gt; (IEWildcard -&gt; Constr)
-&gt; (IEWildcard -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c IEWildcard))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e))
    -&gt; Maybe (c IEWildcard))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; IEWildcard -&gt; IEWildcard)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWildcard -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWildcard -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; IEWildcard -&gt; [u])
-&gt; (forall u.
    Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IEWildcard -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard)
-&gt; Data IEWildcard
IEWildcard -&gt; DataType
IEWildcard -&gt; Constr
(forall b. Data b =&gt; b -&gt; b) -&gt; IEWildcard -&gt; IEWildcard
forall a.
Typeable a
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; a -&gt; c a)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c a)
-&gt; (a -&gt; Constr)
-&gt; (a -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c a))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c a))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; a -&gt; a)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; Data a
forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IEWildcard -&gt; u
forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; IEWildcard -&gt; [u]
forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWildcard -&gt; r
forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWildcard -&gt; r
forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard
forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard
forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c IEWildcard
forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; IEWildcard -&gt; c IEWildcard
forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c IEWildcard)
forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c IEWildcard)
gmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard
$cgmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard
gmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard
$cgmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard
gmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard
$cgmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; IEWildcard -&gt; m IEWildcard
gmapQi :: forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IEWildcard -&gt; u
$cgmapQi :: forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IEWildcard -&gt; u
gmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; IEWildcard -&gt; [u]
$cgmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; IEWildcard -&gt; [u]
gmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWildcard -&gt; r
$cgmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWildcard -&gt; r
gmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWildcard -&gt; r
$cgmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IEWildcard -&gt; r
gmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; IEWildcard -&gt; IEWildcard
$cgmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; IEWildcard -&gt; IEWildcard
dataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c IEWildcard)
$cdataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c IEWildcard)
dataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c IEWildcard)
$cdataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c IEWildcard)
dataTypeOf :: IEWildcard -&gt; DataType
$cdataTypeOf :: IEWildcard -&gt; DataType
toConstr :: IEWildcard -&gt; Constr
$ctoConstr :: IEWildcard -&gt; Constr
gunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c IEWildcard
$cgunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c IEWildcard
gfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; IEWildcard -&gt; c IEWildcard
$cgfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; IEWildcard -&gt; c IEWildcard
</span><a href="../../base/src/Data.Data.html#Data"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Data</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span class="hs-special">)</span><span>
</span><span id="line-269"></span><span>
</span><span id="line-270"></span><span class="hs-comment">{-
Note [IEThingWith]
~~~~~~~~~~~~~~~~~~

A definition like

    module M ( T(MkT, x) ) where
      data T = MkT { x :: Int }

gives rise to

    IEThingWith T [MkT] [FieldLabel &quot;x&quot; False x)]           (without DuplicateRecordFields)
    IEThingWith T [MkT] [FieldLabel &quot;x&quot; True $sel:x:MkT)]   (with    DuplicateRecordFields)

See Note [Representing fields in AvailInfo] in GHC.Types.Avail for more details.
-}</span><span>
</span><span id="line-286"></span><span>
</span><span id="line-287"></span><span id="local-6989586621680912262"><span class="annot"><a href="GHC.Hs.ImpExp.html#ieName"><span class="hs-identifier hs-type">ieName</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#IE"><span class="hs-identifier hs-type">IE</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912262"><span class="hs-identifier hs-type">p</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Hs.Extension.html#IdP"><span class="hs-identifier hs-type">IdP</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912262"><span class="hs-identifier hs-type">p</span></a></span><span class="hs-special">)</span></span><span>
</span><span id="line-288"></span><span id="ieName"><span class="annot"><span class="annottext">ieName :: forall (p :: Pass). IE (GhcPass p) -&gt; IdP (GhcPass p)
</span><a href="GHC.Hs.ImpExp.html#ieName"><span class="hs-identifier hs-var hs-var">ieName</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEVar"><span class="hs-identifier hs-type">IEVar</span></a></span><span> </span><span class="annot"><span class="annottext">XIEVar (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911856"><span class="annot"><span class="annottext">IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911856"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span class="hs-special">)</span><span>              </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; IdGhcP p
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p)
IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911856"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-289"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieName"><span class="hs-identifier hs-var">ieName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingAbs"><span class="hs-identifier hs-type">IEThingAbs</span></a></span><span>  </span><span class="annot"><span class="annottext">XIEThingAbs (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911854"><span class="annot"><span class="annottext">IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911854"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span class="hs-special">)</span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; IdGhcP p
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p)
IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911854"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-290"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieName"><span class="hs-identifier hs-var">ieName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingWith"><span class="hs-identifier hs-type">IEThingWith</span></a></span><span> </span><span class="annot"><span class="annottext">XIEThingWith (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911853"><span class="annot"><span class="annottext">IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911853"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">IEWildcard
</span><span class="hs-identifier">_</span></span><span> </span><span class="annot"><span class="annottext">[GenLocated SrcSpan (IEWrappedName (IdP (GhcPass p)))]
</span><span class="hs-identifier">_</span></span><span> </span><span class="annot"><span class="annottext">[Located (FieldLbl (IdP (GhcPass p)))]
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; IdGhcP p
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p)
IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911853"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-291"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieName"><span class="hs-identifier hs-var">ieName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingAll"><span class="hs-identifier hs-type">IEThingAll</span></a></span><span>  </span><span class="annot"><span class="annottext">XIEThingAll (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911852"><span class="annot"><span class="annottext">IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911852"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span class="hs-special">)</span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; IdGhcP p
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p)
IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911852"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-292"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieName"><span class="hs-identifier hs-var">ieName</span></a></span><span> </span><span class="annot"><span class="annottext">IE (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; IdGhcP p
forall a. String -&gt; a
</span><a href="GHC.Utils.Panic.Plain.html#panic"><span class="hs-identifier hs-var">panic</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;ieName failed pattern match!&quot;</span></span><span>
</span><span id="line-293"></span><span>
</span><span id="line-294"></span><span id="local-6989586621680912252"><span class="annot"><a href="GHC.Hs.ImpExp.html#ieNames"><span class="hs-identifier hs-type">ieNames</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#IE"><span class="hs-identifier hs-type">IE</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912252"><span class="hs-identifier hs-type">p</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Hs.Extension.html#IdP"><span class="hs-identifier hs-type">IdP</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912252"><span class="hs-identifier hs-type">p</span></a></span><span class="hs-special">)</span><span class="hs-special">]</span></span><span>
</span><span id="line-295"></span><span id="ieNames"><span class="annot"><span class="annottext">ieNames :: forall (p :: Pass). IE (GhcPass p) -&gt; [IdP (GhcPass p)]
</span><a href="GHC.Hs.ImpExp.html#ieNames"><span class="hs-identifier hs-var hs-var">ieNames</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEVar"><span class="hs-identifier hs-type">IEVar</span></a></span><span>       </span><span class="annot"><span class="annottext">XIEVar (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911849"><span class="annot"><span class="annottext">IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911849"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span>   </span><span class="hs-special">)</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; IdGhcP p
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p)
IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911849"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-296"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieNames"><span class="hs-identifier hs-var">ieNames</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingAbs"><span class="hs-identifier hs-type">IEThingAbs</span></a></span><span>  </span><span class="annot"><span class="annottext">XIEThingAbs (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911848"><span class="annot"><span class="annottext">IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911848"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span>   </span><span class="hs-special">)</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; IdGhcP p
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p)
IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911848"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-297"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieNames"><span class="hs-identifier hs-var">ieNames</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingAll"><span class="hs-identifier hs-type">IEThingAll</span></a></span><span>  </span><span class="annot"><span class="annottext">XIEThingAll (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911847"><span class="annot"><span class="annottext">IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911847"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span>   </span><span class="hs-special">)</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; IdGhcP p
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p)
IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911847"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-298"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieNames"><span class="hs-identifier hs-var">ieNames</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingWith"><span class="hs-identifier hs-type">IEThingWith</span></a></span><span> </span><span class="annot"><span class="annottext">XIEThingWith (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911846"><span class="annot"><span class="annottext">IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911846"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">IEWildcard
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911845"><span class="annot"><span class="annottext">[GenLocated SrcSpan (IEWrappedName (IdP (GhcPass p)))]
</span><a href="#local-6989586621680911845"><span class="hs-identifier hs-var">ns</span></a></span></span><span> </span><span class="annot"><span class="annottext">[Located (FieldLbl (IdP (GhcPass p)))]
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; IdGhcP p
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p)
IEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911846"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-299"></span><span>                                       </span><span class="annot"><span class="annottext">IdGhcP p -&gt; [IdGhcP p] -&gt; [IdGhcP p]
forall a. a -&gt; [a] -&gt; [a]
</span><span class="hs-glyph hs-var">:</span></span><span> </span><span class="annot"><span class="annottext">(GenLocated SrcSpan (IEWrappedName (IdGhcP p)) -&gt; IdGhcP p)
-&gt; [GenLocated SrcSpan (IEWrappedName (IdGhcP p))] -&gt; [IdGhcP p]
forall a b. (a -&gt; b) -&gt; [a] -&gt; [b]
</span><a href="../../base/src/GHC.Base.html#map"><span class="hs-identifier hs-var">map</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; IdGhcP p
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">(IEWrappedName (IdGhcP p) -&gt; IdGhcP p)
-&gt; (GenLocated SrcSpan (IEWrappedName (IdGhcP p))
    -&gt; IEWrappedName (IdGhcP p))
-&gt; GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; IdGhcP p
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; IEWrappedName (IdGhcP p)
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">[GenLocated SrcSpan (IEWrappedName (IdGhcP p))]
[GenLocated SrcSpan (IEWrappedName (IdP (GhcPass p)))]
</span><a href="#local-6989586621680911845"><span class="hs-identifier hs-var">ns</span></a></span><span>
</span><span id="line-300"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieNames"><span class="hs-identifier hs-var">ieNames</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEModuleContents"><span class="hs-identifier hs-type">IEModuleContents</span></a></span><span> </span><span class="hs-special">{</span><span class="hs-special">}</span><span class="hs-special">)</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span>
</span><span id="line-301"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieNames"><span class="hs-identifier hs-var">ieNames</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEGroup"><span class="hs-identifier hs-type">IEGroup</span></a></span><span>          </span><span class="hs-special">{</span><span class="hs-special">}</span><span class="hs-special">)</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span>
</span><span id="line-302"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieNames"><span class="hs-identifier hs-var">ieNames</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEDoc"><span class="hs-identifier hs-type">IEDoc</span></a></span><span>            </span><span class="hs-special">{</span><span class="hs-special">}</span><span class="hs-special">)</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span>
</span><span id="line-303"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieNames"><span class="hs-identifier hs-var">ieNames</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEDocNamed"><span class="hs-identifier hs-type">IEDocNamed</span></a></span><span>       </span><span class="hs-special">{</span><span class="hs-special">}</span><span class="hs-special">)</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span>
</span><span id="line-304"></span><span>
</span><span id="line-305"></span><span id="local-6989586621680912258"><span class="annot"><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-type">ieWrappedName</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWrappedName"><span class="hs-identifier hs-type">IEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912258"><span class="hs-identifier hs-type">name</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621680912258"><span class="hs-identifier hs-type">name</span></a></span></span><span>
</span><span id="line-306"></span><span id="ieWrappedName"><span class="annot"><span class="annottext">ieWrappedName :: forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var hs-var">ieWrappedName</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEName"><span class="hs-identifier hs-type">IEName</span></a></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911842"><span class="annot"><span class="annottext">name
</span><a href="#local-6989586621680911842"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">name
</span><a href="#local-6989586621680911842"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-307"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEPattern"><span class="hs-identifier hs-type">IEPattern</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911841"><span class="annot"><span class="annottext">name
</span><a href="#local-6989586621680911841"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">name
</span><a href="#local-6989586621680911841"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-308"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEType"><span class="hs-identifier hs-type">IEType</span></a></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911840"><span class="annot"><span class="annottext">name
</span><a href="#local-6989586621680911840"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">name
</span><a href="#local-6989586621680911840"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-309"></span><span>
</span><span id="line-310"></span><span id="local-6989586621680912242"><span class="annot"><a href="GHC.Hs.ImpExp.html#lieWrappedName"><span class="hs-identifier hs-type">lieWrappedName</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-type">LIEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912242"><span class="hs-identifier hs-type">name</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621680912242"><span class="hs-identifier hs-type">name</span></a></span></span><span>
</span><span id="line-311"></span><span id="lieWrappedName"><span class="annot"><span class="annottext">lieWrappedName :: forall name. LIEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#lieWrappedName"><span class="hs-identifier hs-var hs-var">lieWrappedName</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911838"><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911838"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IEWrappedName name -&gt; name
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911838"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-312"></span><span>
</span><span id="line-313"></span><span id="local-6989586621680912239"><span class="annot"><a href="GHC.Hs.ImpExp.html#ieLWrappedName"><span class="hs-identifier hs-type">ieLWrappedName</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-type">LIEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912239"><span class="hs-identifier hs-type">name</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Types.SrcLoc.html#Located"><span class="hs-identifier hs-type">Located</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912239"><span class="hs-identifier hs-type">name</span></a></span></span><span>
</span><span id="line-314"></span><span id="ieLWrappedName"><span class="annot"><span class="annottext">ieLWrappedName :: forall name. LIEWrappedName name -&gt; Located name
</span><a href="GHC.Hs.ImpExp.html#ieLWrappedName"><span class="hs-identifier hs-var hs-var">ieLWrappedName</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span id="local-6989586621680911836"><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911836"><span class="hs-identifier hs-var">l</span></a></span></span><span> </span><span id="local-6989586621680911835"><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911835"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SrcSpan -&gt; name -&gt; GenLocated SrcSpan name
forall l e. l -&gt; e -&gt; GenLocated l e
</span><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-var">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911836"><span class="hs-identifier hs-var">l</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">IEWrappedName name -&gt; name
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911835"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-315"></span><span>
</span><span id="line-316"></span><span id="local-6989586621680912234"><span id="local-6989586621680912235"><span class="annot"><a href="GHC.Hs.ImpExp.html#replaceWrappedName"><span class="hs-identifier hs-type">replaceWrappedName</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWrappedName"><span class="hs-identifier hs-type">IEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912235"><span class="hs-identifier hs-type">name1</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621680912234"><span class="hs-identifier hs-type">name2</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWrappedName"><span class="hs-identifier hs-type">IEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912234"><span class="hs-identifier hs-type">name2</span></a></span></span></span><span>
</span><span id="line-317"></span><span id="replaceWrappedName"><span class="annot"><span class="annottext">replaceWrappedName :: forall name1 name2.
IEWrappedName name1 -&gt; name2 -&gt; IEWrappedName name2
</span><a href="GHC.Hs.ImpExp.html#replaceWrappedName"><span class="hs-identifier hs-var hs-var">replaceWrappedName</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEName"><span class="hs-identifier hs-type">IEName</span></a></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span id="local-6989586621680911833"><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911833"><span class="hs-identifier hs-var">l</span></a></span></span><span> </span><span class="annot"><span class="annottext">name1
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span id="local-6989586621680911832"><span class="annot"><span class="annottext">name2
</span><a href="#local-6989586621680911832"><span class="hs-identifier hs-var">n</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Located name2 -&gt; IEWrappedName name2
forall name. Located name -&gt; IEWrappedName name
</span><a href="GHC.Hs.ImpExp.html#IEName"><span class="hs-identifier hs-var">IEName</span></a></span><span>    </span><span class="hs-special">(</span><span class="annot"><span class="annottext">SrcSpan -&gt; name2 -&gt; Located name2
forall l e. l -&gt; e -&gt; GenLocated l e
</span><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-var">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911833"><span class="hs-identifier hs-var">l</span></a></span><span> </span><span class="annot"><span class="annottext">name2
</span><a href="#local-6989586621680911832"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-318"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#replaceWrappedName"><span class="hs-identifier hs-var">replaceWrappedName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEPattern"><span class="hs-identifier hs-type">IEPattern</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span id="local-6989586621680911831"><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911831"><span class="hs-identifier hs-var">l</span></a></span></span><span> </span><span class="annot"><span class="annottext">name1
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span id="local-6989586621680911830"><span class="annot"><span class="annottext">name2
</span><a href="#local-6989586621680911830"><span class="hs-identifier hs-var">n</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Located name2 -&gt; IEWrappedName name2
forall name. Located name -&gt; IEWrappedName name
</span><a href="GHC.Hs.ImpExp.html#IEPattern"><span class="hs-identifier hs-var">IEPattern</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">SrcSpan -&gt; name2 -&gt; Located name2
forall l e. l -&gt; e -&gt; GenLocated l e
</span><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-var">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911831"><span class="hs-identifier hs-var">l</span></a></span><span> </span><span class="annot"><span class="annottext">name2
</span><a href="#local-6989586621680911830"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-319"></span><span class="annot"><a href="GHC.Hs.ImpExp.html#replaceWrappedName"><span class="hs-identifier hs-var">replaceWrappedName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEType"><span class="hs-identifier hs-type">IEType</span></a></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span id="local-6989586621680911829"><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911829"><span class="hs-identifier hs-var">l</span></a></span></span><span> </span><span class="annot"><span class="annottext">name1
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span id="local-6989586621680911828"><span class="annot"><span class="annottext">name2
</span><a href="#local-6989586621680911828"><span class="hs-identifier hs-var">n</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Located name2 -&gt; IEWrappedName name2
forall name. Located name -&gt; IEWrappedName name
</span><a href="GHC.Hs.ImpExp.html#IEType"><span class="hs-identifier hs-var">IEType</span></a></span><span>    </span><span class="hs-special">(</span><span class="annot"><span class="annottext">SrcSpan -&gt; name2 -&gt; Located name2
forall l e. l -&gt; e -&gt; GenLocated l e
</span><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-var">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911829"><span class="hs-identifier hs-var">l</span></a></span><span> </span><span class="annot"><span class="annottext">name2
</span><a href="#local-6989586621680911828"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-320"></span><span>
</span><span id="line-321"></span><span id="local-6989586621680912230"><span id="local-6989586621680912231"><span class="annot"><a href="GHC.Hs.ImpExp.html#replaceLWrappedName"><span class="hs-identifier hs-type">replaceLWrappedName</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-type">LIEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912231"><span class="hs-identifier hs-type">name1</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621680912230"><span class="hs-identifier hs-type">name2</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Hs.ImpExp.html#LIEWrappedName"><span class="hs-identifier hs-type">LIEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912230"><span class="hs-identifier hs-type">name2</span></a></span></span></span><span>
</span><span id="line-322"></span><span id="replaceLWrappedName"><span class="annot"><span class="annottext">replaceLWrappedName :: forall name1 name2.
LIEWrappedName name1 -&gt; name2 -&gt; LIEWrappedName name2
</span><a href="GHC.Hs.ImpExp.html#replaceLWrappedName"><span class="hs-identifier hs-var hs-var">replaceLWrappedName</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-type">L</span></a></span><span> </span><span id="local-6989586621680911826"><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911826"><span class="hs-identifier hs-var">l</span></a></span></span><span> </span><span id="local-6989586621680911825"><span class="annot"><span class="annottext">IEWrappedName name1
</span><a href="#local-6989586621680911825"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621680911824"><span class="annot"><span class="annottext">name2
</span><a href="#local-6989586621680911824"><span class="hs-identifier hs-var">n'</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SrcSpan
-&gt; IEWrappedName name2 -&gt; GenLocated SrcSpan (IEWrappedName name2)
forall l e. l -&gt; e -&gt; GenLocated l e
</span><a href="GHC.Types.SrcLoc.html#L"><span class="hs-identifier hs-var">L</span></a></span><span> </span><span class="annot"><span class="annottext">SrcSpan
</span><a href="#local-6989586621680911826"><span class="hs-identifier hs-var">l</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">IEWrappedName name1 -&gt; name2 -&gt; IEWrappedName name2
forall name1 name2.
IEWrappedName name1 -&gt; name2 -&gt; IEWrappedName name2
</span><a href="GHC.Hs.ImpExp.html#replaceWrappedName"><span class="hs-identifier hs-var">replaceWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName name1
</span><a href="#local-6989586621680911825"><span class="hs-identifier hs-var">n</span></a></span><span> </span><span class="annot"><span class="annottext">name2
</span><a href="#local-6989586621680911824"><span class="hs-identifier hs-var">n'</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-323"></span><span>
</span><span id="line-324"></span><span id="local-6989586621680912275"><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621680911821"><span class="annot"><a href="GHC.Hs.Extension.html#OutputableBndrId"><span class="hs-identifier hs-type">OutputableBndrId</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912275"><span class="hs-identifier hs-type">p</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="GHC.Utils.Outputable.html#Outputable"><span class="hs-identifier hs-type">Outputable</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IE"><span class="hs-identifier hs-type">IE</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.Extension.html#GhcPass"><span class="hs-identifier hs-type">GhcPass</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912275"><span class="hs-identifier hs-type">p</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-325"></span><span>    </span><span id="local-6989586621680911805"><span class="annot"><span class="annottext">ppr :: IE (GhcPass p) -&gt; SDoc
</span><a href="#local-6989586621680911805"><span class="hs-identifier hs-var hs-var hs-var hs-var">ppr</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEVar"><span class="hs-identifier hs-type">IEVar</span></a></span><span>       </span><span class="annot"><span class="annottext">XIEVar (GhcPass p)
</span><span class="hs-identifier">_</span></span><span>     </span><span id="local-6989586621680911804"><span class="annot"><span class="annottext">LIEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911804"><span class="hs-identifier hs-var">var</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; IEWrappedName (IdGhcP p)
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span> </span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
LIEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911804"><span class="hs-identifier hs-var">var</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-326"></span><span>    </span><span class="annot"><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingAbs"><span class="hs-identifier hs-type">IEThingAbs</span></a></span><span>  </span><span class="annot"><span class="annottext">XIEThingAbs (GhcPass p)
</span><span class="hs-identifier">_</span></span><span>   </span><span id="local-6989586621680911803"><span class="annot"><span class="annottext">LIEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911803"><span class="hs-identifier hs-var">thing</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; IEWrappedName (IdGhcP p)
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span> </span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
LIEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911803"><span class="hs-identifier hs-var">thing</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-327"></span><span>    </span><span class="annot"><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingAll"><span class="hs-identifier hs-type">IEThingAll</span></a></span><span>  </span><span class="annot"><span class="annottext">XIEThingAll (GhcPass p)
</span><span class="hs-identifier">_</span></span><span>   </span><span id="local-6989586621680911802"><span class="annot"><span class="annottext">LIEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911802"><span class="hs-identifier hs-var">thing</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">[SDoc] -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#hcat"><span class="hs-identifier hs-var">hcat</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; IEWrappedName (IdGhcP p)
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span> </span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
LIEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911802"><span class="hs-identifier hs-var">thing</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;(..)&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-328"></span><span>    </span><span class="annot"><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEThingWith"><span class="hs-identifier hs-type">IEThingWith</span></a></span><span> </span><span class="annot"><span class="annottext">XIEThingWith (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911800"><span class="annot"><span class="annottext">LIEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911800"><span class="hs-identifier hs-var">thing</span></a></span></span><span> </span><span id="local-6989586621680911799"><span class="annot"><span class="annottext">IEWildcard
</span><a href="#local-6989586621680911799"><span class="hs-identifier hs-var">wc</span></a></span></span><span> </span><span id="local-6989586621680911798"><span class="annot"><span class="annottext">[LIEWrappedName (IdP (GhcPass p))]
</span><a href="#local-6989586621680911798"><span class="hs-identifier hs-var">withs</span></a></span></span><span> </span><span id="local-6989586621680911797"><span class="annot"><span class="annottext">[Located (FieldLbl (IdP (GhcPass p)))]
</span><a href="#local-6989586621680911797"><span class="hs-identifier hs-var">flds</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-329"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; IEWrappedName (IdGhcP p)
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span> </span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
LIEWrappedName (IdP (GhcPass p))
</span><a href="#local-6989586621680911800"><span class="hs-identifier hs-var">thing</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%3E"><span class="hs-operator hs-var">&lt;&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#parens"><span class="hs-identifier hs-var">parens</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">[SDoc] -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#fsep"><span class="hs-identifier hs-var">fsep</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">SDoc -&gt; [SDoc] -&gt; [SDoc]
</span><a href="GHC.Utils.Outputable.html#punctuate"><span class="hs-identifier hs-var">punctuate</span></a></span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#comma"><span class="hs-identifier hs-var">comma</span></a></span><span>
</span><span id="line-330"></span><span>                                              </span><span class="hs-special">(</span><span class="annot"><span class="annottext">[SDoc]
</span><a href="#local-6989586621680911791"><span class="hs-identifier hs-var">ppWiths</span></a></span><span> </span><span class="annot"><span class="annottext">[SDoc] -&gt; [SDoc] -&gt; [SDoc]
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span>
</span><span id="line-331"></span><span>                                              </span><span class="annot"><span class="annottext">(GenLocated SrcSpan (FieldLbl (IdGhcP p)) -&gt; SDoc)
-&gt; [GenLocated SrcSpan (FieldLbl (IdGhcP p))] -&gt; [SDoc]
forall a b. (a -&gt; b) -&gt; [a] -&gt; [b]
</span><a href="../../base/src/GHC.Base.html#map"><span class="hs-identifier hs-var">map</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">FastString -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="annot"><span class="annottext">(FastString -&gt; SDoc)
-&gt; (GenLocated SrcSpan (FieldLbl (IdGhcP p)) -&gt; FastString)
-&gt; GenLocated SrcSpan (FieldLbl (IdGhcP p))
-&gt; SDoc
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">FieldLbl (IdGhcP p) -&gt; FastString
forall a. FieldLbl a -&gt; FastString
</span><a href="GHC.Types.FieldLabel.html#flLabel"><span class="hs-identifier hs-var hs-var">flLabel</span></a></span><span> </span><span class="annot"><span class="annottext">(FieldLbl (IdGhcP p) -&gt; FastString)
-&gt; (GenLocated SrcSpan (FieldLbl (IdGhcP p))
    -&gt; FieldLbl (IdGhcP p))
-&gt; GenLocated SrcSpan (FieldLbl (IdGhcP p))
-&gt; FastString
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">GenLocated SrcSpan (FieldLbl (IdGhcP p)) -&gt; FieldLbl (IdGhcP p)
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">[GenLocated SrcSpan (FieldLbl (IdGhcP p))]
[Located (FieldLbl (IdP (GhcPass p)))]
</span><a href="#local-6989586621680911797"><span class="hs-identifier hs-var">flds</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-332"></span><span>      </span><span class="hs-keyword">where</span><span>
</span><span id="line-333"></span><span>        </span><span id="local-6989586621680911791"><span class="annot"><span class="annottext">ppWiths :: [SDoc]
</span><a href="#local-6989586621680911791"><span class="hs-identifier hs-var hs-var">ppWiths</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-334"></span><span>          </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">IEWildcard
</span><a href="#local-6989586621680911799"><span class="hs-identifier hs-var">wc</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-335"></span><span>              </span><span class="annot"><span class="annottext">IEWildcard
</span><a href="GHC.Hs.ImpExp.html#NoIEWildcard"><span class="hs-identifier hs-var">NoIEWildcard</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-336"></span><span>                </span><span class="annot"><span class="annottext">(GenLocated SrcSpan (IEWrappedName (IdGhcP p)) -&gt; SDoc)
-&gt; [GenLocated SrcSpan (IEWrappedName (IdGhcP p))] -&gt; [SDoc]
forall a b. (a -&gt; b) -&gt; [a] -&gt; [b]
</span><a href="../../base/src/GHC.Base.html#map"><span class="hs-identifier hs-var">map</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="annot"><span class="annottext">(IEWrappedName (IdGhcP p) -&gt; SDoc)
-&gt; (GenLocated SrcSpan (IEWrappedName (IdGhcP p))
    -&gt; IEWrappedName (IdGhcP p))
-&gt; GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; SDoc
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; IEWrappedName (IdGhcP p)
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">[GenLocated SrcSpan (IEWrappedName (IdGhcP p))]
[LIEWrappedName (IdP (GhcPass p))]
</span><a href="#local-6989586621680911798"><span class="hs-identifier hs-var">withs</span></a></span><span>
</span><span id="line-337"></span><span>              </span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWildcard"><span class="hs-identifier hs-type">IEWildcard</span></a></span><span> </span><span id="local-6989586621680911789"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621680911789"><span class="hs-identifier hs-var">pos</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-338"></span><span>                </span><span class="hs-keyword">let</span><span> </span><span class="hs-special">(</span><span id="local-6989586621680911788"><span class="annot"><span class="annottext">[SDoc]
</span><a href="#local-6989586621680911788"><span class="hs-identifier hs-var">bs</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621680911787"><span class="annot"><span class="annottext">[SDoc]
</span><a href="#local-6989586621680911787"><span class="hs-keyword hs-var">as</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; [SDoc] -&gt; ([SDoc], [SDoc])
forall a. Int -&gt; [a] -&gt; ([a], [a])
</span><a href="../../base/src/GHC.List.html#splitAt"><span class="hs-identifier hs-var">splitAt</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621680911789"><span class="hs-identifier hs-var">pos</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">(GenLocated SrcSpan (IEWrappedName (IdGhcP p)) -&gt; SDoc)
-&gt; [GenLocated SrcSpan (IEWrappedName (IdGhcP p))] -&gt; [SDoc]
forall a b. (a -&gt; b) -&gt; [a] -&gt; [b]
</span><a href="../../base/src/GHC.Base.html#map"><span class="hs-identifier hs-var">map</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">IEWrappedName (IdGhcP p) -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="annot"><span class="annottext">(IEWrappedName (IdGhcP p) -&gt; SDoc)
-&gt; (GenLocated SrcSpan (IEWrappedName (IdGhcP p))
    -&gt; IEWrappedName (IdGhcP p))
-&gt; GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; SDoc
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">GenLocated SrcSpan (IEWrappedName (IdGhcP p))
-&gt; IEWrappedName (IdGhcP p)
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">[GenLocated SrcSpan (IEWrappedName (IdGhcP p))]
[LIEWrappedName (IdP (GhcPass p))]
</span><a href="#local-6989586621680911798"><span class="hs-identifier hs-var">withs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-339"></span><span>                </span><span class="hs-keyword">in</span><span> </span><span class="annot"><span class="annottext">[SDoc]
</span><a href="#local-6989586621680911788"><span class="hs-identifier hs-var">bs</span></a></span><span> </span><span class="annot"><span class="annottext">[SDoc] -&gt; [SDoc] -&gt; [SDoc]
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;..&quot;</span></span><span class="hs-special">]</span><span> </span><span class="annot"><span class="annottext">[SDoc] -&gt; [SDoc] -&gt; [SDoc]
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">[SDoc]
</span><a href="#local-6989586621680911787"><span class="hs-keyword hs-var">as</span></a></span><span>
</span><span id="line-340"></span><span>    </span><span class="annot"><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEModuleContents"><span class="hs-identifier hs-type">IEModuleContents</span></a></span><span> </span><span class="annot"><span class="annottext">XIEModuleContents (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911785"><span class="annot"><span class="annottext">Located ModuleName
</span><a href="#local-6989586621680911785"><span class="hs-identifier hs-var">mod'</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-341"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;module&quot;</span></span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Located ModuleName -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="annot"><span class="annottext">Located ModuleName
</span><a href="#local-6989586621680911785"><span class="hs-identifier hs-var">mod'</span></a></span><span>
</span><span id="line-342"></span><span>    </span><span class="annot"><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEGroup"><span class="hs-identifier hs-type">IEGroup</span></a></span><span> </span><span class="annot"><span class="annottext">XIEGroup (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911784"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621680911784"><span class="hs-identifier hs-var">n</span></a></span></span><span> </span><span class="annot"><span class="annottext">HsDocString
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span>           </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;&lt;IEGroup: &quot;</span></span><span> </span><span class="annot"><span class="annottext">String -&gt; String -&gt; String
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; String
forall a. Show a =&gt; a -&gt; String
</span><a href="../../base/src/GHC.Show.html#show"><span class="hs-identifier hs-var">show</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621680911784"><span class="hs-identifier hs-var">n</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; String -&gt; String
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;&gt;&quot;</span></span><span class="hs-special">)</span><span>
</span><span id="line-343"></span><span>    </span><span class="annot"><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEDoc"><span class="hs-identifier hs-type">IEDoc</span></a></span><span> </span><span class="annot"><span class="annottext">XIEDoc (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911782"><span class="annot"><span class="annottext">HsDocString
</span><a href="#local-6989586621680911782"><span class="hs-identifier hs-var">doc</span></a></span></span><span class="hs-special">)</span><span>             </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">HsDocString -&gt; SDoc
forall a. Outputable a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="annot"><span class="annottext">HsDocString
</span><a href="#local-6989586621680911782"><span class="hs-identifier hs-var">doc</span></a></span><span>
</span><span id="line-344"></span><span>    </span><span class="annot"><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEDocNamed"><span class="hs-identifier hs-type">IEDocNamed</span></a></span><span> </span><span class="annot"><span class="annottext">XIEDocNamed (GhcPass p)
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621680911781"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621680911781"><span class="hs-identifier hs-var">string</span></a></span></span><span class="hs-special">)</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;&lt;IEDocNamed: &quot;</span></span><span> </span><span class="annot"><span class="annottext">String -&gt; String -&gt; String
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621680911781"><span class="hs-identifier hs-var">string</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; String -&gt; String
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;&gt;&quot;</span></span><span class="hs-special">)</span></span><span>
</span><span id="line-345"></span><span>
</span><span id="line-346"></span><span id="local-6989586621680912210"><span class="hs-keyword">instance</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.Name.Occurrence.html#HasOccName"><span class="hs-identifier hs-type">HasOccName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912210"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="GHC.Types.Name.Occurrence.html#HasOccName"><span class="hs-identifier hs-type">HasOccName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWrappedName"><span class="hs-identifier hs-type">IEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912210"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-347"></span><span>  </span><span id="local-6989586621680911775"><span class="annot"><span class="annottext">occName :: IEWrappedName name -&gt; OccName
</span><a href="GHC.Types.Name.Occurrence.html#occName"><span class="hs-identifier hs-var hs-var hs-var hs-var">occName</span></a></span></span><span> </span><span id="local-6989586621680911773"><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911773"><span class="hs-identifier hs-var">w</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">name -&gt; OccName
forall name. HasOccName name =&gt; name -&gt; OccName
</span><a href="GHC.Types.Name.Occurrence.html#occName"><span class="hs-identifier hs-var">occName</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">IEWrappedName name -&gt; name
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911773"><span class="hs-identifier hs-var">w</span></a></span><span class="hs-special">)</span></span><span>
</span><span id="line-348"></span><span>
</span><span id="line-349"></span><span id="local-6989586621680912207"><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621680911766"><span class="hs-special">(</span><span class="annot"><a href="GHC.Utils.Outputable.html#OutputableBndr"><span class="hs-identifier hs-type">OutputableBndr</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912207"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="GHC.Utils.Outputable.html#OutputableBndr"><span class="hs-identifier hs-type">OutputableBndr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWrappedName"><span class="hs-identifier hs-type">IEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912207"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-350"></span><span>  </span><span id="local-6989586621680911763"><span class="annot"><span class="annottext">pprBndr :: BindingSite -&gt; IEWrappedName name -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprBndr"><span class="hs-identifier hs-var hs-var hs-var hs-var">pprBndr</span></a></span></span><span> </span><span id="local-6989586621680911761"><span class="annot"><span class="annottext">BindingSite
</span><a href="#local-6989586621680911761"><span class="hs-identifier hs-var">bs</span></a></span></span><span>   </span><span id="local-6989586621680911760"><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911760"><span class="hs-identifier hs-var">w</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">BindingSite -&gt; name -&gt; SDoc
forall a. OutputableBndr a =&gt; BindingSite -&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprBndr"><span class="hs-identifier hs-var">pprBndr</span></a></span><span> </span><span class="annot"><span class="annottext">BindingSite
</span><a href="#local-6989586621680911761"><span class="hs-identifier hs-var">bs</span></a></span><span>   </span><span class="hs-special">(</span><span class="annot"><span class="annottext">IEWrappedName name -&gt; name
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911760"><span class="hs-identifier hs-var">w</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-351"></span><span>  </span><span id="local-6989586621680911758"><span class="annot"><span class="annottext">pprPrefixOcc :: IEWrappedName name -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprPrefixOcc"><span class="hs-identifier hs-var hs-var hs-var hs-var">pprPrefixOcc</span></a></span></span><span> </span><span id="local-6989586621680911756"><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911756"><span class="hs-identifier hs-var">w</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">name -&gt; SDoc
forall a. OutputableBndr a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprPrefixOcc"><span class="hs-identifier hs-var">pprPrefixOcc</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">IEWrappedName name -&gt; name
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911756"><span class="hs-identifier hs-var">w</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-352"></span><span>  </span><span id="local-6989586621680911754"><span class="annot"><span class="annottext">pprInfixOcc :: IEWrappedName name -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprInfixOcc"><span class="hs-identifier hs-var hs-var hs-var hs-var">pprInfixOcc</span></a></span></span><span>  </span><span id="local-6989586621680911752"><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911752"><span class="hs-identifier hs-var">w</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">name -&gt; SDoc
forall a. OutputableBndr a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprInfixOcc"><span class="hs-identifier hs-var">pprInfixOcc</span></a></span><span>  </span><span class="hs-special">(</span><span class="annot"><span class="annottext">IEWrappedName name -&gt; name
forall name. IEWrappedName name -&gt; name
</span><a href="GHC.Hs.ImpExp.html#ieWrappedName"><span class="hs-identifier hs-var">ieWrappedName</span></a></span><span> </span><span class="annot"><span class="annottext">IEWrappedName name
</span><a href="#local-6989586621680911752"><span class="hs-identifier hs-var">w</span></a></span><span class="hs-special">)</span></span><span>
</span><span id="line-353"></span><span>
</span><span id="line-354"></span><span id="local-6989586621680912223"><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621680911749"><span class="hs-special">(</span><span class="annot"><a href="GHC.Utils.Outputable.html#OutputableBndr"><span class="hs-identifier hs-type">OutputableBndr</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912223"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="GHC.Utils.Outputable.html#Outputable"><span class="hs-identifier hs-type">Outputable</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEWrappedName"><span class="hs-identifier hs-type">IEWrappedName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912223"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-355"></span><span>  </span><span id="local-6989586621680911745"><span class="annot"><span class="annottext">ppr :: IEWrappedName name -&gt; SDoc
</span><a href="#local-6989586621680911745"><span class="hs-identifier hs-var hs-var hs-var hs-var">ppr</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEName"><span class="hs-identifier hs-type">IEName</span></a></span><span>    </span><span id="local-6989586621680911744"><span class="annot"><span class="annottext">Located name
</span><a href="#local-6989586621680911744"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">name -&gt; SDoc
forall a. OutputableBndr a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprPrefixOcc"><span class="hs-identifier hs-var">pprPrefixOcc</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Located name -&gt; name
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span> </span><span class="annot"><span class="annottext">Located name
</span><a href="#local-6989586621680911744"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-356"></span><span>  </span><span class="annot"><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEPattern"><span class="hs-identifier hs-type">IEPattern</span></a></span><span> </span><span id="local-6989586621680911743"><span class="annot"><span class="annottext">Located name
</span><a href="#local-6989586621680911743"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;pattern&quot;</span></span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">name -&gt; SDoc
forall a. OutputableBndr a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprPrefixOcc"><span class="hs-identifier hs-var">pprPrefixOcc</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Located name -&gt; name
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span> </span><span class="annot"><span class="annottext">Located name
</span><a href="#local-6989586621680911743"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-357"></span><span>  </span><span class="annot"><a href="GHC.Utils.Outputable.html#ppr"><span class="hs-identifier hs-var">ppr</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Hs.ImpExp.html#IEType"><span class="hs-identifier hs-type">IEType</span></a></span><span>    </span><span id="local-6989586621680911742"><span class="annot"><span class="annottext">Located name
</span><a href="#local-6989586621680911742"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;type&quot;</span></span><span>    </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">name -&gt; SDoc
forall a. OutputableBndr a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprPrefixOcc"><span class="hs-identifier hs-var">pprPrefixOcc</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Located name -&gt; name
forall l e. GenLocated l e -&gt; e
</span><a href="GHC.Types.SrcLoc.html#unLoc"><span class="hs-identifier hs-var">unLoc</span></a></span><span> </span><span class="annot"><span class="annottext">Located name
</span><a href="#local-6989586621680911742"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">)</span></span><span>
</span><span id="line-358"></span><span>
</span><span id="line-359"></span><span id="local-6989586621680912206"><span class="annot"><a href="GHC.Hs.ImpExp.html#pprImpExp"><span class="hs-identifier hs-type">pprImpExp</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.Name.Occurrence.html#HasOccName"><span class="hs-identifier hs-type">HasOccName</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912206"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Utils.Outputable.html#OutputableBndr"><span class="hs-identifier hs-type">OutputableBndr</span></a></span><span> </span><span class="annot"><a href="#local-6989586621680912206"><span class="hs-identifier hs-type">name</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621680912206"><span class="hs-identifier hs-type">name</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Utils.Outputable.html#SDoc"><span class="hs-identifier hs-type">SDoc</span></a></span></span><span>
</span><span id="line-360"></span><span id="pprImpExp"><span class="annot"><span class="annottext">pprImpExp :: forall name. (HasOccName name, OutputableBndr name) =&gt; name -&gt; SDoc
</span><a href="GHC.Hs.ImpExp.html#pprImpExp"><span class="hs-identifier hs-var hs-var">pprImpExp</span></a></span></span><span> </span><span id="local-6989586621680911736"><span class="annot"><span class="annottext">name
</span><a href="#local-6989586621680911736"><span class="hs-identifier hs-var">name</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="#local-6989586621680911735"><span class="hs-identifier hs-var">type_pref</span></a></span><span> </span><span class="annot"><span class="annottext">SDoc -&gt; SDoc -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">name -&gt; SDoc
forall a. OutputableBndr a =&gt; a -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#pprPrefixOcc"><span class="hs-identifier hs-var">pprPrefixOcc</span></a></span><span> </span><span class="annot"><span class="annottext">name
</span><a href="#local-6989586621680911736"><span class="hs-identifier hs-var">name</span></a></span><span>
</span><span id="line-361"></span><span>    </span><span class="hs-keyword">where</span><span>
</span><span id="line-362"></span><span>    </span><span id="local-6989586621680911734"><span class="annot"><span class="annottext">occ :: OccName
</span><a href="#local-6989586621680911734"><span class="hs-identifier hs-var hs-var">occ</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">name -&gt; OccName
forall name. HasOccName name =&gt; name -&gt; OccName
</span><a href="GHC.Types.Name.Occurrence.html#occName"><span class="hs-identifier hs-var">occName</span></a></span><span> </span><span class="annot"><span class="annottext">name
</span><a href="#local-6989586621680911736"><span class="hs-identifier hs-var">name</span></a></span><span>
</span><span id="line-363"></span><span>    </span><span id="local-6989586621680911735"><span class="annot"><span class="annottext">type_pref :: SDoc
</span><a href="#local-6989586621680911735"><span class="hs-identifier hs-var hs-var">type_pref</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">OccName -&gt; Bool
</span><a href="GHC.Types.Name.Occurrence.html#isTcOcc"><span class="hs-identifier hs-var">isTcOcc</span></a></span><span> </span><span class="annot"><span class="annottext">OccName
</span><a href="#local-6989586621680911734"><span class="hs-identifier hs-var">occ</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">&amp;&amp;</span></span><span> </span><span class="annot"><span class="annottext">OccName -&gt; Bool
</span><a href="GHC.Types.Name.Occurrence.html#isSymOcc"><span class="hs-identifier hs-var">isSymOcc</span></a></span><span> </span><span class="annot"><span class="annottext">OccName
</span><a href="#local-6989586621680911734"><span class="hs-identifier hs-var">occ</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; SDoc
</span><a href="GHC.Utils.Outputable.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;type&quot;</span></span><span>
</span><span id="line-364"></span><span>              </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">SDoc
</span><a href="GHC.Utils.Outputable.html#empty"><span class="hs-identifier hs-var">empty</span></a></span><span>
</span><span id="line-365"></span></pre></body></html>